Hi, I want to reload a chart dataset, but I need to reset the zoomstack first, otherwise the axes are redrawn incorrectly. I can call PopZoomStack until it is clear, but the chart looks like it redrawn each time. How can i prevent this?
We don't have a method to reset the zoom stack, other than calling PopZoomStack, as you have already done.
Have you tried to create a new ChartZoom object and install it as the CurrentMouseListener, to replace the current one. This should give you an empty zoom stack without redrawing anything.
Thanks for that. Creating a new Zoom object isn't enough since the axes are redrawn with previous scales - drawn small inside plot, along with ticks and labels. Looks like I might as well clear the plot and recreate the lot. E.