- #12 - Allow custom chart types. (@tcard)
- #11 - fix failed to update points for doughnut chart ([@neoalienson](https://api.github.com/users/neoal ienson))
a createChart
method is exposed
description from associated PR
This changeset exposes the createClass method in lib/core, and adds a third argument to it so that you can pass the dataKey value that was previously fixed in the dataKeys variable.
E. g. if you want to use https://github.com/Regaddi/Chart.StackedBar.js, you would do something like var StackedBarChart = require('react-chartjs').createClass('StackedBar', ['getBarsAtEvent'], 'bars'); (provided you previously registered StackedBar with Chart.js, of course).
- Added a
getChart
method on the chart components to return the chartjs object - Added a
getCanvass
method on the chart components to return the canvass DOM element
- Added Chart.js as a peer dependency (thanks @pghalliday)
- Remove AMD and javascript include support to make commonjs behavior simple (thanks @seanadkinson)
- AMD bug fix
- Allow for commonJS code to not require initialization
- Actually include the commit mentioned with the 1.2 release
- fix chart rendering error when properties change
- fix AMD loader - 8c6b8ea
- add AMD loader - c04a10a