News for hackers. Stuff that matters.
Re:New Chart.js beta version launched by capkutay on Sunday June 29, 2014 @05:18PM (#7962448)
Would someone who's familiar with chart.js do a quick comparison between other popular charting libraries? I've mostly used rickshaw and d3.
Re:New Chart.js beta version launched by Throwaway0812 on Sunday June 29, 2014 @05:51PM (#7962595)
Don't forget Highcharts...

http://www.highcharts.com

Re:New Chart.js beta version launched by cglee on Sunday June 29, 2014 @07:04PM (#7962840)
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.
Re:New Chart.js beta version launched by hayksaakian on Sunday June 29, 2014 @10:43PM (#7963431)
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

Re:New Chart.js beta version launched by eterm on Monday June 30, 2014 @05:00AM (#7964254)
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.
Re:New Chart.js beta version launched by skeletonjelly on Monday June 30, 2014 @06:35AM (#7964416)
Highcharts is free for non commercial
Re:New Chart.js beta version launched by paul_f on Sunday June 29, 2014 @08:25PM (#7963071)
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?
Re:New Chart.js beta version launched by lalwanivikas on Monday June 30, 2014 @02:02AM (#7963881)
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

Re:New Chart.js beta version launched by nnnnnick on Monday June 30, 2014 @05:17AM (#7964280)
Yep, you can call .toBase64Image() on your chart instance to return a png image encoded as a base 64 data url.
Re:New Chart.js beta version launched by scrollaway on Sunday June 29, 2014 @06:16PM (#7962696)
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 by lalwanivikas on Monday June 30, 2014 @01:47AM (#7963827)
Re:New Chart.js beta version launched by ceejayoz on Monday June 30, 2014 @07:11PM (#7968249)
Surely this is going to be prone to bias, even if it's only subconscious?
Re:New Chart.js beta version launched by lalwanivikas on Tuesday July 01, 2014 @12:58AM (#7969212)
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.
Re:New Chart.js beta version launched by nailer on Monday June 30, 2014 @04:41PM (#7967565)
Oh it's got highcharts too. Thanks.
Re:New Chart.js beta version launched by freditup on Sunday June 29, 2014 @07:55PM (#7962985)
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)

Re:New Chart.js beta version launched by stephenitis on Monday June 30, 2014 @03:45AM (#7964127)