From fd1f4374464f34968fbc0884d5cdfec004e13ba7 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Wed, 12 Mar 2025 11:39:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=BB=84=E5=90=88=E5=9B=BE=E5=8F=B3=E7=BA=B5=E8=BD=B4=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E8=BD=B4=E7=BA=BF=E6=98=BE=E7=A4=BA-=E5=AE=9E?= =?UTF-8?q?=E7=BA=BF/=E8=99=9A=E7=BA=BF/=E7=82=B9=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=97=A0=E5=8F=8D=E5=BA=94=EF=BC=8C=E4=B8=80=E7=9B=B4=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=BA=E5=AE=9E=E7=BA=BF?= 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 db88743248..74279e0152 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 @@ -635,14 +635,16 @@ export function getYAxisExt(chart: Chart) { ? { style: { stroke: axisCfg.lineStyle.color, - lineWidth: axisCfg.lineStyle.width + lineWidth: axisCfg.lineStyle.width, + lineDash: getLineDash(axisCfg.lineStyle.style) } } : null const tickLine = axisCfg.show ? { style: { - stroke: axisCfg.lineStyle.color + stroke: axisCfg.lineStyle.color, + lineWidth: axisCfg.lineStyle.width } } : null