import { Chart, ArcElement, DoughnutController, Tooltip, Legend, CategoryScale, LinearScale, BarElement, BarController, LineController, LineElement, PointElement } from 'chart.js'; Chart.register( ArcElement, DoughnutController, Tooltip, Legend, CategoryScale, LinearScale, BarElement, BarController, LineController, LineElement, PointElement );