-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag animation is very slow #310
Comments
I guess that calling |
It's definitely the update() call on each event. I have 4 series plotted, especially one with 2k data on average so it's making it slow for sure. |
I've spent most of my time working on making Chart.js 3 a lot faster. Hopefully that will help in making each |
This is likely resolved in Chart.js v3. We've done a number of things to improve performance https://www.chartjs.org/docs/latest/general/performance.html |
I'm using Chart.js v2.9.3, with thz zoom plugin,
my drag option is set as is :
When dragging, it displays the selection correctly but the rectangle color rendering is slow and laggy
I tried with fewer data (50/200) but it didn't improve.
AnimationDuration doesn't seem to make any change either.
When using lots of data, defaut animations of the chart.js behave normally so i'm not sure which one is lagging when I call a drag-zoom.
Any tips on where to look out to improve that?
The text was updated successfully, but these errors were encountered: