Nowadays I prefer Apexcharts.js, which renders to SVG.
https://github.com/apexcharts/apexcharts.js (MIT License)
Nowadays I prefer Apexcharts.js, which renders to SVG.
https://github.com/apexcharts/apexcharts.js (MIT License)
I think the other advantage SVG has can be is if you want to do some advanced interactivity. That can sometimes be easier in SVG.
options: { devicePixelRatio: 2 }
Also, if you're interested in realtime charts, here's a related plugin I've seen: https://github.com/nagix/chartjs-plugin-streaming
here is how it performs vs Chart.js:
https://github.com/leeoniya/uPlot#performance
i will add Apex charts to the bench list in a day or so
i think the only practical way to get acceptable perf with SVG is to simplify the paths via something like https://mourner.github.io/simplify-js/
Thanks for creating this :)
is this mentioned anywhere in the docs? seems non-obvious.