You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to use Chartjs with a large amount of data (up to 100k data points), and when the chart updates it is locking up the browser. Is there a maximum number or data points that can be used?
Thanks for your help.
The text was updated successfully, but these errors were encountered:
@jvolf-zolo you should probably limit the number of points to width in px * 4 as a maximum. At the moment, we don't have any built-in decimation so you would need to decimate before sending data to the chart.
It might be worthwhile to build a plugin that does decimation as part of the update process
@etimberg I'm trying to use chartjs to plot chromatography data (so lots of points) and wondered if you could elaborate a little more on the 'width in px * 4' approach you mentioned above please?
Also, I have a lot of zeros in my data and the above algorithm suggested by @bbb31 seems to fall foul of a divide by 0. If anyone could help me adjust it to get around that I'd be most grateful.
We're trying to use Chartjs with a large amount of data (up to 100k data points), and when the chart updates it is locking up the browser. Is there a maximum number or data points that can be used?
Thanks for your help.
The text was updated successfully, but these errors were encountered: