Previous Examples Next

The cursor plugin also enables plot zooming functionality. Click and drag on the plot to zoom. Double click to reset.

You can disable the double click zoom reset. The cursor plugin also extends the plot object with a resetZoom() method which can be called from user code or other html element (a button for example) to reset the plot zoom.

Plot zooming also works will multiple axes. The following plot uses 3 large datasets.