Live data from Hacker News

Chart.js 2.0 Released

chartjs.org

61–70 of 81 posts

Re: Chart.js 2.0 Released

#61

This website eats way too much cpu power when active in a browser tab. I guess the reason for this are the animations going on, this is not usable for production. Please consider using velocity.js, thanks!

I only see cpu usage on the homepage which should rarely be open for long. The actual docs don't have the same impact, so I think it should be fine as is. Are you seeing something different?

Re: Chart.js 2.0 Released

#62
post #41
post #19

I am using metrichgraphics[1], it's based on D3.js I was looking at charts.js but it didn't had enough options. [1] http://metricsgraphicsjs.org/examples.htm

I haven't used this but found this chart lib based on D3.js called C3.js. http://c3js.org/

https://wakatime.com uses C3.js on the main dashboard for it's flexibility and ease-of-use. The mobile support in Chart.js 2.0 might make us take a second look at it.

Re: Chart.js 2.0 Released

#63

Earlier quoted context omitted.

1. License: As other commenters have said, it's fully open source and free to use for commercial projects. 2. Canvas vs SVG: For my use case, using SVG for lots of data points really slowed down the DOM. Canvas doesn't have that limitation and is easier to export to images if necessary. SVG is nice because you can use CSS to style things.

FWIW, and I literally JUST learned this from another link in this thread: Highcharts now has boost.js [0], which lets you use Canvas, for when you need the performance boost. [0] http://www.highcharts.com/articles/2-news/175-highcharts-per...

That's pretty cool.

Re: Chart.js 2.0 Released

#65
post #26

Earlier quoted context omitted.

How quick is this? I'll give it a go with our company's dataset. Unfortunately none of the javascript charting libraries could handle it so far. I am not even sure it is possible to do what I want using JS and current technology.

It's very fast even with thousands of data points. We were combining it with github.com/crossfilter/crossfilter to do client side filtering and aggregating on hundreds of thousands of rows of data.

Hyperlink for the lazy https://github.com/crossfilter/crossfilter

Re: Chart.js 2.0 Released

#66
post #47
post #46

Where are the demos!

There are mini demos on the documentation page: http://www.chartjs.org/docs/ but it would be nice to see someone share something a bit more complex.

How do you build the documentation? I can see files in the docs dir turn into http://www.chartjs.org/docs/. But I couldn't find any npm plugin etc.

Re: Chart.js 2.0 Released

#67
post #65

Earlier quoted context omitted.

It's very fast even with thousands of data points. We were combining it with github.com/crossfilter/crossfilter to do client side filtering and aggregating on hundreds of thousands of rows of data.

Hyperlink for the lazy https://github.com/crossfilter/crossfilter

Haha, I thought that HN was smart enough to hyperlink it for me. Thanks for the help. :)

Re: Chart.js 2.0 Released

#69
post #26

Earlier quoted context omitted.

How quick is this? I'll give it a go with our company's dataset. Unfortunately none of the javascript charting libraries could handle it so far. I am not even sure it is possible to do what I want using JS and current technology.

It's very fast even with thousands of data points. We were combining it with github.com/crossfilter/crossfilter to do client side filtering and aggregating on hundreds of thousands of rows of data.

Would love to see an example combining the two!

Re: Chart.js 2.0 Released

#70
post #69

Earlier quoted context omitted.

It's very fast even with thousands of data points. We were combining it with github.com/crossfilter/crossfilter to do client side filtering and aggregating on hundreds of thousands of rows of data.

Would love to see an example combining the two!

I agree. I would also love to see an example combining both as well. It would be a very useful reference.
Post reply on HN