react-chartjs v0.6.0 Release Notes

Release Date: 2015-03-25 // almost 5 years ago
  • 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, you would do something like var StackedBarChart = require('react-chartjs').createClass('StackedBar', ['getBarsAtEvent'], 'bars'); (provided you previously registered StackedBar with Chart.js, of course).