[Chartjs]-Pagination for Chart.js line chart?

1👍

Thanks to @LeeLenalee!

So chart js doesn’t have pagination options. What I did was make 2 buttons which onClick show me the next 20 data values or previous 20 data values. I slice the arrays which get sent into the Line chart label, datasets.

Leave a comment