0👍
You can make use of the chart.js zoom plugin: https://www.chartjs.org/chartjs-plugin-zoom/.
Keep in mind that if you are using chart.js version 2 you have to use version 0.7.7 of the plugins since later versions are for chart.js version 3
Sample of dragging using the plugin: https://www.chartjs.org/chartjs-plugin-zoom/samples/pan-region.html
- Chartjs-Puppeteer is generating a .pdf with nearly 1000 blank pages when I am using Chart.js
- Chartjs-Angular Push JSON data into Array
Source:stackexchange.com