Hello everybody
I want to show a "reset zoom" button on my web page, but I only want to show it if the chart is actually zoomed (i.e.: if it isn't completely zoomed out).
However, I can't seem to find a way to do this. I tried using the "onZoomComplete" callback, but it only has the "chart" parameter (which is the chart object), but no parameter that tells me the current zoom level.
Is there a way to get the current zoom level / know if zoom is active?
Hello everybody
I want to show a "reset zoom" button on my web page, but I only want to show it if the chart is actually zoomed (i.e.: if it isn't completely zoomed out).
However, I can't seem to find a way to do this. I tried using the "onZoomComplete" callback, but it only has the "chart" parameter (which is the chart object), but no parameter that tells me the current zoom level.
Is there a way to get the current zoom level / know if zoom is active?