react-chartjs v0.6.0 Release NotesRelease Date: 2015-03-25 // almost 5 years ago
- #12 - Allow custom chart types. (@tcard)
- ⚡️ #11 - fix failed to update points for doughnut chart (@neoalienson)
createChartmethod 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).