I use setExtremes to enlarge the details in the diagram, and also so that the user can enlarge "x, y" by selecting in the diagram. When the user zooms in, they get a "reset zoom" button, however, when I call setExtremes, I do not.
Is there a way to make the 'reset increase' button programmatically?
UPDATE:
call
if( !chart.resetZoomButton ) { chart.showResetZoom(); }
a button appears inside the afterSetExtremes event handler, but clicking it does nothing.
UPDATE:
Instead of calling setExtremes, I changed the call
chart.xaxis [0] .zoom (minx, maxx); chart.yaxis [0] .zoom (miny, maxy); chart.redraw ();
This has the same effect as a custom scale by selecting in a chart.
source share