From 91fe1597c4d8f4b22fe755658ee11c71740d3b9d Mon Sep 17 00:00:00 2001 From: jyha00 Date: Tue, 10 Jun 2025 09:17:16 +0900 Subject: [PATCH] =?UTF-8?q?chartConfig=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business_components/src/ui/chart/index.tsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/packages/common/business_components/src/ui/chart/index.tsx b/packages/common/business_components/src/ui/chart/index.tsx index b30eef3c3..0d17a99b1 100644 --- a/packages/common/business_components/src/ui/chart/index.tsx +++ b/packages/common/business_components/src/ui/chart/index.tsx @@ -34,7 +34,7 @@ const CHART_FORM = { type MainChartProps = { chartForm: string; - chartConfig: any; + chartConfig: ChartConfig; chartData: any; chartTitle: string; chartClassName?: string; @@ -47,23 +47,19 @@ type MainChartProps = { function MainChart(props: MainChartProps) { if( props.chartForm == CHART_FORM.BAR ){ return ( - - + ); } else if( props.chartForm == CHART_FORM.LINE ){ return ( - - + ); } else if( props.chartForm == CHART_FORM.DN ){ return ( - - + ); } else if (props.chartForm == CHART_FORM.LINEBAR){ return ( - - + ); } }