Pie charts in reactjs
问题 I'm trying to implement a pie chart in my web application and i found this as a good source. https://github.com/reactjs/react-chartjs But it does not provide the way to give chartData and chartOptions inorder to make it work. How can i do this? my code import React, {Component} from 'react'; var LineChart = require("react-chartjs").Line; class PieChart extends Component { constructor() { super(); } render() { return ( <div className=""> <LineChart data={chartData} options={chartOptions} width