Pan limits

I have seen some older posts on this,not sure if it is implemented yet, is there anyway to limit the pan range? I am plotting
a line graph using datetime, the graph allows me to pan into the future or back to epoch, I

would like to lock the pan to values in the data set.

Ron