I think we are trying to do similar things. From what I gather you
also do not have a complete solution. I looked at cursor.js and I
agree that I need newmax and newmin, but I also need to know when they
change. For this I believe I need a callback "hook". Looking at the
code there does not appear to be a hook for the zoom case, at least
not around "handleZoomMove". However, it is possible that
"preDrawHooks" or "preDrawSeriesHooks" may work. I just don't know if
I'm on the right track. It may be that I'd need to use
"postDrawHooks", so I would allow the drawing of the chart at low
resolution, then right away load my high-resolution data use the
newmax, newmin, then replot.
But I then only know the chart completed drawing, not that a zoom
event took place. That would put me in an infinite loop where I
"replot" then hit the callback of "postDrawHooks" then do it all over
again. I have to know it is a new zoom event so I fetch data once.