From 7d07b544812f957b042766658e8577eed4ea92e2 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Wed, 9 Apr 2025 10:29:43 +0800 Subject: [PATCH] =?UTF-8?q?style(=E5=9B=BE=E8=A1=A8):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BD=AE=E6=92=AD=E6=8F=90=E7=A4=BA=E7=9A=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE?= 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b28a67ef9e..f2d093ee07 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 @@ -1733,7 +1733,7 @@ function calculateTooltipPosition( if (isColumn(chart.type)) { return top + chartElement.getBoundingClientRect().height / 2 } - if (isMix || isPie) { + if (isMix(chart.type) || isPie(chart.type)) { return top + tooltipCtl.point.y } return top + tooltipCtl.point.y + 60