Zoom is very slow in ChartJS Zoom Plugin

104 views
Skip to first unread message

Giacomo Maraglino

unread,
Aug 30, 2020, 10:34:02 AM8/30/20
to Chart.js User Discussion
1

I'm trying to build a webpage with some graphs. In order to get it, I'm using ChartJS. Sometimes can happen there are too many data to see in just one canvas, so I need to use the ChartJS zoom plugin. I install and use it well, unless I have a big problem: Setting the mode as 'x', the zoom applied on canvas is really really slow (even if I put 100000 as speed value). I want to make it faster. How can I solve it? In this CODEPEN you can see better what I mean:

https://codepen.io/giacomo-maraglino/pen/dyMRaRz

Thank you for any advice. Hope you can help me.

Reply all
Reply to author
Forward
0 new messages