Chartjs-Unable to install ng2-charts via npm

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.

Leave a comment