3 ms·
I tried to render a couple hundred thousand datapoints with Chart.js and it froze my browser. Will v3 make a meaningful difference? Don't get me wrong, I love c
by KitDuncan 6y ago
I tried to render a couple hundred thousand datapoints with Chart.js and it froze my browser. Will v3 make a meaningful difference? Don't get me wrong, I love chart.js. It's a great library.
- etimberg 6y agoThere's a set of benchmarks with ~166k points. Chart.js v3 is listed as "Chart.js-next". https://leeoniya.github.io/uPlot/#performance https://leeoniya.github.io/uPlot/#performance It should also be possible to render the chart in a WebWorker via the OffscreenCanvas API. To be honest though, the data should be decimated before being sent to the chart. Some notes on it https://www.chartjs.org/docs/master/general/performance#data-decimation https://www.chartjs.org/docs/master/general/performance#data...