Chartjs-How to make ng2-Chart Scrollable for large amount of data sets?

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

Leave a comment