From 5673838c58a0ac24c63760bdb77731b8a1ea39ab Mon Sep 17 00:00:00 2001 From: Nor <51310674+mihyunLee@users.noreply.github.com> Date: Wed, 13 Sep 2023 21:50:22 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Chart=20Controller=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Chart.tsx | 4 ++++ 1 file changed, 4 insertions(+) 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 {