npm install ng2-charts@2.4.2 --save
import { ChartsModule } from 'ng2-charts';
// In your App's module:
imports: [
ChartsModule
]
npm install chart.js --save
import { NgChartsModule } from 'ng2-charts';
// In your App's module:
imports: [
NgChartsModule
]
yarn add chart.js --save