Chart.js 2.0 Released
chartjs.org
chartjs.org
- Github Organization: Moved from github.com/nnnick/Chart.js to our own org, github.com/chartjs/Chart.js, where we hope to continue to grow the awesome community
- Scales: New time axis, log axis and multiple axis support
- Animations galore: Just about everything animates now, from adding/removing datasets, updating data or even changing colors. Based on canvas, animations run at 60fps even with tens of thousands of data points
- Dynamic config: It used to be difficult to interact with a chart after creating it, but now it is as simple as changing the object and calling the update function
- Mixed charts: It is now trivial to put a line on a bar chart or whatever combination floats your boat
- Legends: Now supported for all chart types, they can be placed anywhere on the canvas and support toggling data visibility by default
- Chart types: More charts supported out of the box, including stacked area/bar and bubble charts
- Labels: Built-in chart titles and axis labels make it easy to understand your data
- Responsive and mobile ready: Charts, labels and legends all scale down to accommodate any screen size out of the box, with touch event support
- too much awesomeness to list here
Moving forward, the core team is committed to a faster release cycle. Version 2.1 is slated to come out in the next week with:
- Plugin support: Add optional support for features like zoom/pan (forthcoming) without adding bulk to the core library
- Shared data between charts
We'd love your help, so please join and contribute! We have a very active Slack community that you can join at https://chartjs-slack-automation.herokuapp.com. We'd love to add new chart types and to get the documentation translated, so if you think you can help, we'd love to have you!
Don't get me wrong. This is a wonderful piece of work and I want everyone involved to succeed.
Convince us that this library is ready for the real world :)
I recently had a project which required me to trend some data on a webpage. I ended up going with a package called JQPlot. Their website had really great demos - with example code.
One thing I really need is good support for multiple Y-Axis I can't see anything on your site about how to add additional axis or customise an existing plot axis (how would I force manual scale per axis for example).
You can see the StackOverflow post I made: http://stackoverflow.com/questions/35262796/plot-multiple-sc...
Has an example screenshot of type of graph I was trying to produce.
It should doable just fine, but it seems like you expect the front end to handle millions of nodes? You should aggregate at various levels, and present sliding windows instead...
that being said, YMMV, horses for courses, there'a a LOT of different ways to chart and different tastes, but that's my take.
I like it. It took a little poking at to get what I wanted (stacked bar charts with some initially unselected), but I got it and its been working well. I came from a highcharts shop, and the setup there was different enough.
Easy to implement basic charts like line, bar, pie, scatter, etc. and extensible with D3.
The big problem with ChartJS was the lack of horizontal bar charts. From memory there was a 3rd party plugin for this but the author himself admitted it was a bit of a bodge.
Disappointed to see that this wasn't added to the new version. I hope this is something the team considers in the future.
I look forward to getting this up and running on our site though.
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.
[0] http://www.highcharts.com/articles/2-news/175-highcharts-per...
For custom stuff I use D3, but for the "standard"-charts I use Highcharts.
Edit: Seems like Chartjs is MIT, Highcharts is only free for non-commercial.
It certainly isn't to the d3 level yet, but almost everything is exposed and extensible with the new API so you can create most any chart you can think of.
It looks like the documentation is missing some of the new 2.0 chart types.
Edit: Nevermind. It looks like they are not new types per se, but new options on old types. Scale, Stacked, etc.
I filed a Github issue here: https://github.com/chartjs/Chart.js/issues/2369
screenshot: http://i.imgur.com/so0iHU3.png
- Github Organization: Moved from github.com/nnnick/Chart.js to our own org, github.com/chartjs/Chart.js, where we hope to continue to grow the awesome community - Scales: New time axis, log axis and multiple axis support - Animations galore: Just about everything animates now, from adding/removing datasets, updating data or even changing colors. Based on canvas, animations run at 60fps even with tens of thousands of data points - Dynamic config: It used to be difficult to interact with a chart after creating it, but now it is as simple as changing the object and calling the update function - Mixed charts: It is now trivial to put a line on a bar chart or whatever combination floats your boat - Legends: Now supported for all chart types, they can be placed anywhere on the canvas and support toggling data visibility by default - Chart types: More charts supported out of the box, including stacked area/bar and bubble charts - Labels: Built-in chart titles and axis labels make it easy to understand your data - Responsive and mobile ready: Charts, labels and legends all scale down to accommodate any screen size out of the box, with touch event support - too much awesomeness to list here
Moving forward, the core team is committed to a faster release cycle. Version 2.1 is slated to come out in the next week with: - Plugin support: Add optional support for features like zoom/pan (forthcoming) without adding bulk to the core library - Shared data between charts
We'd love your help, so please join and contribute! We have a very active Slack community that you can join at https://chartjs-slack-automation.herokuapp.com. We'd love to add new chart types and to get the documentation translated, so if you think you can help, we'd love to have you!
I remember my past time working on Ionic mobile development using chart.js to show graph of monthly incomes.
but it would be nice to see someone share something a bit more complex.