From 659c881678345995f4046f403a66b01d241cc121 Mon Sep 17 00:00:00 2001 From: ulleo Date: Wed, 27 Nov 2024 17:28:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8Y=E8=BD=B4=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/js/panel/common/common_antv.ts | 6 ++++-- 1 file changed, 4 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 6212518c4e..1c0b5110fb 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 @@ -556,7 +556,8 @@ export function getYAxis(chart: Chart) { grid, label, line, - tickLine + tickLine, + nice: true } return axis } @@ -649,7 +650,8 @@ export function getYAxisExt(chart: Chart) { grid, label, line, - tickLine + tickLine, + nice: true } return axis }