What are the differences between 'NgChartModule' and 'chartModues'?

πŸ‘:0

Depends on the version of Chart.js (and Ng2Charts) you are using.

When you are using V2 of Chart.js (and Ng2Charts) you need to import ChartsModule.
When you are using V3 of Chart.js (and Ng2Charts) you need to import NgChartsModule .

Leave a comment