Skip to content

seanadkinson/react-chartjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-chartjs-commonjs

Fork of react-chartjs to make it easier to import with webpack or other CommonJS module loader

Example Usage

var ReactChart = require("react-chartjs-commonjs");

var MyComponent = React.createClass({
  render: function() {
    return <ReactChart.Line data={chartData} options={chartOptions} width="600" height="250"/>
  }
});
  • data represents the chart data (see chart.js for details)
  • options represents the chart options (see chart.js for details)
  • all other parameters will be passed through to the canvas element

About

common react charting components using chart.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%