Determining Zoom

It is possible to detect whether a chart has been zoomed in either axis by the use of the isZoomed function.
If called with no argument, it will report whether either axis has been zoomed.
Alternatively it can be called with an argument of either 'x' or 'y' and it will report the status of just that axis.

Here's a simple example using drawCallback to display the various zoom states whenever the chart is zoomed: