Chart.js is a JavaScript library which makes it easy to create animated and responsive charts. If you want to combine Chart.js with Angular you can use ng2-charts.
- Angular: 7.0.3
- Node: 8.10.0
- Typescript: 3.1.6
npm install ng2-charts --save
npm install chart.js --save
NOTE: You don't have to add
<script src="node_modules/chart.js/src/chart.js"></script>
if you are using angular-cli. Angular-cli packs ng2-charts lib and add it automatically.