Chart.js Zoom Plug-In

In early May 2016, I wrote a Zoom and Pan plugin to work with the new plugin system introduced in Chart.js v2.1.0. The plugin is touch ready and allows the use of gestures, such as pinch, to zoom the chart. Take a look at the chart below and try it out!


In the future I think the zoom plugin will make a good reference as to what plugins can look like. It’s already help other to create plugins for Chart.js including a great one for creating gradient fills based on scale values. I’m looking forward to what the community can build over time.