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 (
-
-
+
);
}
}