[Chartjs]-Usage of ChartJS v3 with TypeScript and Webpack

3👍

Chart.js 3 is tree-shakeable, so it is necessary to import and register the controllers, elements, scales and plugins you are going to use.

Please take a look at Bundlers (Webpack, Rollup, etc.) from the Chart.js documentation.

Leave a comment