From 989744aba298751ba716e57825c77f7f0697e017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90=E1=BB=97=20Tr=E1=BB=8Dng=20H=E1=BA=A3i?= <41283691+hainenber@users.noreply.github.com> Date: Fri, 4 Oct 2024 04:47:59 +0700 Subject: [PATCH] fix(plugin/echarts): correct enum values for LABEL_POSITION map (#30509) Signed-off-by: hainenber --- .../plugins/plugin-chart-echarts/src/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/constants.ts b/superset-frontend/plugins/plugin-chart-echarts/src/constants.ts index 5d33d0138..65ea1679e 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/constants.ts +++ b/superset-frontend/plugins/plugin-chart-echarts/src/constants.ts @@ -53,8 +53,8 @@ export const LABEL_POSITION: [LabelPositionEnum, string][] = [ [LabelPositionEnum.Right, 'Right'], [LabelPositionEnum.Bottom, 'Bottom'], [LabelPositionEnum.Inside, 'Inside'], - [LabelPositionEnum.InsideBottomLeft, 'Inside left'], - [LabelPositionEnum.InsideBottomRight, 'Inside right'], + [LabelPositionEnum.InsideLeft, 'Inside left'], + [LabelPositionEnum.InsideRight, 'Inside right'], [LabelPositionEnum.InsideTop, 'Inside top'], [LabelPositionEnum.InsideBottom, 'Inside bottom'], [LabelPositionEnum.InsideTopLeft, 'Inside top left'],