0👍
you can use
npm install ng2-charts –save –legacy-peer-deps to ignore all the dependencies and make a bar chart. But if you want to make a doughnut chart you will face some problems with
import { MultiDataSet, Label } from ‘ng2-charts’;
from component.ts
I face the same problem hope someone can help with this.
- Chartjs-How to remove minuses in a tornado/bar chart
- Chartjs-Dropdown component not having effect in Chromium browser
Source:stackexchange.com