Live data from Hacker News

New Chart.js beta version launched

chartjs.org

21–30 of 64 posts

Re: New Chart.js beta version launched

#21
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

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

#23

Nick this is awesome. Would love to feature your work on blockspring.com so non-engineers can use chart.js graphs directly.

Blockspring looks like a great resource. Free to use? Spits out code to paste into html? Nick, Charts looks awesome and might make its way into my next project.

Re: New Chart.js beta version launched

#24
post #20

Can the data in the charts be updated in realtime? I'm looking for graphs to display operations type data like cpu usage, etc over time.

Each one of the chart types has a prototype method .update() which will re-draw the chart with your updated values, so real-time updates are possible.

[1] http://www.chartjs.org/docs/

Re: New Chart.js beta version launched

#25
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.

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

#26
It looks like this version includes a chart legend for pie/doughnut charts! Unless I am very mistaken, the old version, which I am using in my latest product, did not :(.

Hooray chartjs people, I love your product :) -- it is definitely my favorite charting library :).

BTW, does anybody know of a charting library that will make nice 1D scatter plots? (Like this: http://i.stack.imgur.com/LGBAG.png).

These are very useful visualizations for event frequency, but I can't find any libraries that make them.

Re: New Chart.js beta version launched

#27
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

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

#28
post #26

It looks like this version includes a chart legend for pie/doughnut charts! Unless I am very mistaken, the old version, which I am using in my latest product, did not :(. Hooray chartjs people, I love your product :) -- it is definitely my favorite charting library :). BTW, does anybody know of a charting library that will make nice 1D scatter plots? (Like this: http://i.stack.imgur.com/LGBAG.png ). These are very us…

You should be able to recreate that 1D scatter plot using a regular scatter plot and setting all of the y values to 0 (unless I'm missing something).

Re: New Chart.js beta version launched

#29
At work, we use Google Charts to chart data, then send images of those charts to users via email, inline. We are told that this functionality will be deprecated in the API some time next year. Anyone have an idea of how to mitigate that? Emails dont support javascript so not sure how to get around this. Just for some clarity, if you happen to use Sendgrid, they do the same thing. Google chart images in an email.

Re: New Chart.js beta version launched

#30
post #26

It looks like this version includes a chart legend for pie/doughnut charts! Unless I am very mistaken, the old version, which I am using in my latest product, did not :(. Hooray chartjs people, I love your product :) -- it is definitely my favorite charting library :). BTW, does anybody know of a charting library that will make nice 1D scatter plots? (Like this: http://i.stack.imgur.com/LGBAG.png ). These are very us…

Do you have any examples of how you'd like them to look in the browser? It shouldn't be hard to throw something together with d3 which simply takes an array.

edit: quick example. http://jsfiddle.net/R532h/

Post reply on HN