4 ms·
Can you comment on highcharts performance? It looks like highcharts uses SVG under the covers. Canvas based visualizations may fare a little better than SVGs o
by capkutay 12y ago
Can you comment on highcharts performance?
It looks like highcharts uses SVG under the covers. Canvas based visualizations may fare a little better than SVGs once you're trying to render thousands of data points.
- sanderjd 12y agoI can. Well, on HighStock, but it's basically the same. With a couple tweaks (not really related to performance but possibly helping), it was incredibly performant except on some versions of IE. It came down to the performance of the javascript engine in the browser, and the bottleneck wasn't SVG but rather various calculations on the data to make it suitable for display. We had many thousands of points (up to a few series of up to 1 year of 15-minute meter data) and were doing aggregation client-side as well.
- seasoup 12y agoSVG performance degrades based on the amount of data that you are drawing. If you are rendering basic charts you will never run into any issues, if you are doing scatterplots with thousands of points or some other visualization with lots of separate nodes then you run into performance issues. Canvas performance is limited by the size of the canvas, the larger the canvas, the more time it takes to redraw it. SVG lets you tie into the DOM and DOM manipulation methods allowing for simple event interactions. Interactive canvas can be done but is more time consuming and difficult, though there are now canvas charting libraries that provide you with some basic "click" or even "hover" functionality.
- neoyagami 12y agoI used highstock to plot thousands of points and it eated lime it was nothing . If you want speed , this is for you