@coreui/react-chartjs changelog
- chore: update to React 17
- fix(typings): add ChartDataSets, ChartOptions - closes #1
- chore: fix typings, add typings to "files" in package.json
BREAKING CHANGE:
<CCharts>component has been deprecated and will be removed in v1.0.0- use
<CChart type="...">instead
or one of following types:
<CChartBar>
<CChartHorizontalBar>
<CChartLine>
<CChartDoughnut>
<CChartRadar>
<CChartPie>
<CChartPolarArea>
sample import:
import {
CChart,
CChartBar,
CChartHorizontalBar,
CChartLine,
CChartDoughnut,
CChartRadar,
CChartPie,
CChartPolarArea
} from '@coreui/react-chartjs';- initial version
install:
npm install @coreui/react
npm install @coreui/react-chartjs