@trullock/chartjs-plugin-zoom
v2.1.6
Published
Plugin that enables zoom and pan functionality in Chart.js charts.
Downloads
225
Readme
chartjs-plugin-zoom
This Fork
This fork contains various bug fixes and PRs from the main repos, and is published on npm as @trullock/chartjs-plugin-zoom because maintenance on the main repos seems to be dead. If it comes back to life let me know and I'll wind this down.
Docs
A zoom and pan plugin for Chart.js >= 3.0.0
For Chart.js 2.6.0 to 2.9.x support, use version 0.7.7 of this plugin.
Panning can be done via the mouse or with a finger. Zooming is done via the mouse wheel or via a pinch gesture. Hammer.js is used for gesture recognition.
Documentation
You can find documentation for chartjs-plugin-zoom at www.chartjs.org/chartjs-plugin-zoom.
Prior to v0.4.0, this plugin was known as 'Chart.Zoom.js'. Old versions are still available on npm under that name.
Contributing
Before submitting an issue or a pull request to the project, please take a moment to look over the contributing guidelines first.
License
chartjs-plugin-zoom.js is available under the MIT license.