import { Chart, registerables } from 'chart.js'; export class ChartTest { constructor() { Chart.register(...registerables); } // methods to actually make the chart per documentation }