diff --git a/src/components/Chart.tsx b/src/components/Chart.tsx index 5ac7e40..1c741ea 100644 --- a/src/components/Chart.tsx +++ b/src/components/Chart.tsx @@ -10,6 +10,8 @@ import { Tooltip, Title, Filler, + LineController, + BarController, } from 'chart.js'; import { Chart as ReactChartJS, getElementAtEvent } from 'react-chartjs-2'; import { TChartDataList } from '../types'; @@ -27,6 +29,8 @@ ChartJS.register( Tooltip, Title, Filler, + LineController, + BarController, ); interface IProps {