chartjs / Chart.js

Simple HTML5 Charts using the <canvas> tag
https://www.chartjs.org/
MIT License
63.94k stars 11.89k forks source link

Chart JS performance with large of label ( > 100k point ) #11656

Closed vietcoder1998 closed 5 months ago

vietcoder1998 commented 5 months ago

Feature Proposal

I have a chartJS as label`s quantity is bigger than 100k points, then the Chart is so lag. How could we optimize to fix this problem? ( Without resize of data from label - Just only config options or handle code )

Thankyou!

https://i.stack.imgur.com/Q73ga.png

Possible Implementation

Context

No response

chart.js version v4.4.1

Browser name and version No response

Link to your project

No response

LeeLenaleee commented 5 months ago

In the docs is a section for performance: https://www.chartjs.org/docs/master/general/performance.html

LeeLenaleee commented 5 months ago

Closing as per my above comment