diff --git a/apps/st/src/components/statistics/management/PopulationStatusChart.tsx b/apps/st/src/components/statistics/management/PopulationStatusChart.tsx index 1b7198135..fa0f8ba5b 100644 --- a/apps/st/src/components/statistics/management/PopulationStatusChart.tsx +++ b/apps/st/src/components/statistics/management/PopulationStatusChart.tsx @@ -3,7 +3,9 @@ import { Chart as ChartJS, CategoryScale, LinearScale, + BarController, BarElement, + LineController, LineElement, PointElement, Title, @@ -12,7 +14,18 @@ import { } from "chart.js"; import type { ChartOptions } from "chart.js"; -ChartJS.register(CategoryScale, LinearScale, BarElement, LineElement, PointElement, Title, Tooltip, Legend); +ChartJS.register( + CategoryScale, + LinearScale, + BarController, + BarElement, + LineController, + LineElement, + PointElement, + Title, + Tooltip, + Legend, +); // 차트 설정 외부 정의 (Mixed 타입 명시) const options: ChartOptions<"bar" | "line"> = {