react-chartjs v0.6.0 Release Notes
Release Date: 2015-03-25 // about 9 years ago-
- #12 - Allow custom chart types. (@tcard)
- ⚡️ #11 - fix failed to update points for doughnut chart (@neoalienson)
a
createChart
method is exposeddescription 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).