Hacker News new | past | comments | ask | show | jobs | submit login

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


Just from a cursory glance, it appears that Chartjs is entirely free and you can do what you want with it, while Highcharts is not.


It would be nice if this distinction was stated unambiguously on the front page

here's the license if you were looking for it like I was

https://github.com/nnnick/Chart.js/blob/master/LICENSE.md


Took me ages to find the license, I ended up clicking documentation and still having to search for the word license to find it. I wish it was more prominent on the landing page.


Highcharts is free for non commercial


Big fan of Highcharts. Like that you can export charts to a png. Big deal for me, don't think chart.js offers anything like that?


FusionCharts can export charts to PNG, JPG, PDF and SVG. I've been trying both FusionCharts and HighCharts for past few weeks and I can say that I am a bit inclined towards FusionCharts. Had this discussion the other day as well when Epoch[1] was released.

[1] https://news.ycombinator.com/item?id=7948560


Yep, you can call .toBase64Image() on your chart instance to return a png image encoded as a base 64 data url.


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



Surely this is going to be prone to bias, even if it's only subconscious?


It can be. Therefore it's best to take it with a pinch of salt and decide for yourself. Different requirements will demand for different products. I've seen big enterprises going only for FusionCharts whereas individual developers tend to go for other options like HighCharts. But I took FusionCharts for my personal projects because it was free it had a huge library.


Oh it's got highcharts too. Thanks.


I haven't used d3 but I used chart.js a little while ago. At the time is was relatively simple but lacking some features (like support for interactions). Looks like this newest version has added some of that which is great. My guess is that it's still lighter-weight & simpler than d3 which makes it good for some use cases but not others.

Edit: I've only had good experiences with chart.js (not sure if that was clear)





Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: