Skip to content

Bennycopter/chartjs-plugin-zoom

 
 

Repository files navigation

CIJ notes

I made this fork so that I could edit the original plugin. I just reduced a timeout that prevented an ugly interaction bug.

Here's what I did:

  • Made the changes I needed
  • npm install
  • npm run build
  • removed /dist from .gitignore
  • Added the dist folder to VCS
  • Commit and push
  • In my project: npm i Bennycopter/chartjs-plugin-zoom.git

chartjs-plugin-zoom

GitHub Workflow Status Coverage Status release npm (latest) npm (next) documentation Awesome

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.

About

Zoom and pan plugin for Chart.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.0%
  • TypeScript 1.3%
  • Shell 0.7%