Live data from Hacker News

New Chart.js beta version launched

chartjs.org

11–20 of 64 posts

Re: New Chart.js beta version launched

#13
post #7

Would someone who's familiar with chart.js do a quick comparison between other popular charting libraries? I've mostly used rickshaw and d3.

Don't forget Highcharts... http://www.highcharts.com

I really like the feel of HighCharts. I've been using HighStock (their financial charts) for traffic analytics graphs and it works really well.

Re: New Chart.js beta version launched

#16

Why canvas instead of svg?

SVG is a good solution too, but it can really suffer performance-wise, especially on mobile, tablet and when animating svg node positions.

Have you done any benchmarking of canvas vs svg charts?

Re: New Chart.js beta version launched

#18

Earlier quoted context omitted.

SVG is a good solution too, but it can really suffer performance-wise, especially on mobile, tablet and when animating svg node positions.

Have you done any benchmarking of canvas vs svg charts?

I did a while back for my university dissertation, I'll have to see if I can dig it out.

IIRC: canvas tends to outperform svg when dealing with a lot of individual objects, due to them being individual dom nodes in svg. However svg will outperform canvas drawing fewer nodes, on a larger canvas, due to canvas being bitmap based.

Post reply on HN