https://github.com/chartjs/chartjs-plugin-zoom
Zoom and pan plugin for Chart.js
https://github.com/chartjs/chartjs-plugin-zoom
chartjs pan plugin zoom
Last synced: 5 months ago
JSON representation
Zoom and pan plugin for Chart.js
- Host: GitHub
- URL: https://github.com/chartjs/chartjs-plugin-zoom
- Owner: chartjs
- License: mit
- Created: 2016-05-04T00:19:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T19:00:20.000Z (9 months ago)
- Last Synced: 2024-10-24T18:29:23.485Z (6 months ago)
- Topics: chartjs, pan, plugin, zoom
- Language: JavaScript
- Size: 11.2 MB
- Stars: 590
- Watchers: 21
- Forks: 326
- Open Issues: 115
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - zoom
README
# chartjs-plugin-zoom
[](https://github.com/chartjs/chartjs-plugin-zoom/actions/workflows/ci.yml)
[](https://coveralls.io/github/chartjs/chartjs-plugin-zoom?branch=master)
[](https://github.com/chartjs/chartjs-plugin-zoom/releases)
[](https://www.npmjs.com/package/chartjs-plugin-zoom/v/latest)
[](https://www.npmjs.com/package/chartjs-plugin-zoom/v/next)
[](https://www.chartjs.org/chartjs-plugin-zoom/index)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](https://github.com/chartjs/chartjs-plugin-zoom/releases/tag/v0.7.7).
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](https://hammerjs.github.io/) is used for gesture recognition.## Documentation
You can find documentation for chartjs-plugin-zoom at [www.chartjs.org/chartjs-plugin-zoom](https://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](CONTRIBUTING.md) first.
## License
chartjs-plugin-zoom.js is available under the [MIT license](https://opensource.org/licenses/MIT).