From 268f00d8bdc8a62e6bf1a85a14fcff2654319f26 Mon Sep 17 00:00:00 2001 From: zhou-yinyuan <147299494+zhou-yinyuan@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:05:08 +0800 Subject: [PATCH] ADM-984 [frontend]: change the position of classification pie chart (#1553) * ADM-984 [frontend]: add the yAxis for reversed bar chart * ADM-984 [frontend]: change the position of the classification pie chart --- frontend/src/containers/ReportStep/ChartOption.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/containers/ReportStep/ChartOption.ts b/frontend/src/containers/ReportStep/ChartOption.ts index 7fc899bbc..1c1158c14 100644 --- a/frontend/src/containers/ReportStep/ChartOption.ts +++ b/frontend/src/containers/ReportStep/ChartOption.ts @@ -324,7 +324,7 @@ export const pieOptionMapper = (props: PieOptionProps, showPercentage: boolean = { type: 'pie', data: series, - center: ['50%', '50%'], + center: ['50%', '55%'], label: { formatter: '{b} ({c}%)', },