From 5b6adbf18050025b58e54037dd6989e3c62e64d2 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Wed, 4 Dec 2024 15:34:27 +0800 Subject: [PATCH] =?UTF-8?q?style(=E5=9B=BE=E8=A1=A8):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=9D=A1=E5=BD=A2=E5=9B=BE=E8=BE=85=E5=8A=A9=E7=BA=BF=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E4=BD=8D=E7=BD=AE=E4=B8=BA=E5=9B=BA=E5=AE=9A=E5=9C=A8?= =?UTF-8?q?=E4=B8=8A=E6=96=B9=EF=BC=8C=E4=B8=8D=E9=9A=8F=E6=A8=AA=E8=BD=B4?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/common/common_antv.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index fae27788cf..97b6bfe098 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -836,9 +836,9 @@ export function getAnalyseHorizontal(chart: Chart) { }) assistLine.push({ type: 'text', - position: [xAxisPosition === 'left' ? 'start' : 'end', value], + position: ['start', value], content: content, - offsetY: xAxisPosition === 'left' ? -2 : -10 * (content.length - 2), + offsetY: 5, offsetX: 2, rotate: Math.PI / 2, style: {