From b852d3fbc54f7c08b45ce9aa5180b27475c70540 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Tue, 2 Sep 2025 15:54:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=BA=BF=E9=9D=A2=E5=9B=BE=E7=BA=B5=E8=BD=B4=E7=BD=91=E6=A0=BC?= =?UTF-8?q?=E7=BA=BF=E5=AE=9E=E7=BA=BF=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/js/panel/charts/g2/bar/bidirectional-bar.ts | 2 +- .../chart/components/js/panel/charts/g2/bar/stock-line.ts | 2 +- .../views/chart/components/js/panel/charts/g2/line/area.ts | 2 +- .../views/chart/components/js/panel/charts/g2/line/line.ts | 2 +- .../chart/components/js/panel/charts/g2/mix/mix-dual-line.ts | 2 +- .../chart/components/js/panel/charts/g2/mix/mix-group.ts | 4 ++-- .../chart/components/js/panel/charts/g2/mix/mix-stack.ts | 4 ++-- .../src/views/chart/components/js/panel/charts/g2/mix/mix.ts | 4 ++-- .../chart/components/js/panel/charts/g2/relation/quadrant.ts | 4 ++-- .../chart/components/js/panel/charts/g2/relation/scatter.ts | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/bar/bidirectional-bar.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/bar/bidirectional-bar.ts index fd9110e616..85891ecd20 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/bar/bidirectional-bar.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/bar/bidirectional-bar.ts @@ -355,7 +355,7 @@ export class BidirectionalHorizontalBar extends G2ChartView { if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = [1, 0] + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] } diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/bar/stock-line.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/bar/stock-line.ts index bbd46293cb..e771a65d9a 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/bar/stock-line.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/bar/stock-line.ts @@ -360,7 +360,7 @@ export class StockLine extends G2ChartView { if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = undefined + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] } diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/line/area.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/line/area.ts index f624f3131b..fc47ec3eaf 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/line/area.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/line/area.ts @@ -315,7 +315,7 @@ export class Area extends G2ChartView { if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = undefined + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] } diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/line/line.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/line/line.ts index 180cd906af..42baf6d944 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/line/line.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/line/line.ts @@ -308,7 +308,7 @@ export class Line extends G2ChartView { if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = undefined + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] } diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-dual-line.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-dual-line.ts index 60b71aaaf3..6ec32aef36 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-dual-line.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-dual-line.ts @@ -643,7 +643,7 @@ export class GroupLineMix extends G2ChartView { if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = undefined + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] } diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-group.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-group.ts index 5a09d79701..dc88ee440b 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-group.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-group.ts @@ -626,14 +626,14 @@ export class GroupLineMix extends G2ChartView { defaultsDeep(view, axisHide) return options } - let lineLineDash = undefined + let lineLineDash = [0, 0] if (xAxis.axisLine.lineStyle.style === 'dashed') { lineLineDash = [10, 8] } if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = undefined + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] } diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-stack.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-stack.ts index 561cf6ab15..f2a7dfc16c 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-stack.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix-stack.ts @@ -625,14 +625,14 @@ export class StackLineMix extends G2ChartView { defaultsDeep(view, axisHide) return options } - let lineLineDash = undefined + let lineLineDash = [0, 0] if (xAxis.axisLine.lineStyle.style === 'dashed') { lineLineDash = [10, 8] } if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = undefined + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] } diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix.ts index d150897353..957c8e371b 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/mix/mix.ts @@ -465,14 +465,14 @@ export class ColumnLineMix extends G2ChartView { } return defaultsDeep(options, axisHide) } - let lineLineDash = undefined + let lineLineDash = [0, 0] if (xAxis.axisLine.lineStyle.style === 'dashed') { lineLineDash = [10, 8] } if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = undefined + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] } diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/quadrant.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/quadrant.ts index 9663023ad6..53c950521d 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/quadrant.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/quadrant.ts @@ -277,14 +277,14 @@ export class Quadrant extends G2ChartView { } return defaultsDeep(options, axisHide) } - let lineLineDash = undefined + let lineLineDash = [0, 0] if (xAxis.axisLine.lineStyle.style === 'dashed') { lineLineDash = [10, 8] } if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = undefined + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] } diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/scatter.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/scatter.ts index 5a239deda7..13cbe11638 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/scatter.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/g2/relation/scatter.ts @@ -372,7 +372,7 @@ export class Scatter extends G2ChartView { if (xAxis.axisLine.lineStyle.style === 'dotted') { lineLineDash = [1, 2] } - let gridLineDash = undefined + let gridLineDash = [0, 0] if (xAxis.splitLine.lineStyle.style === 'dashed') { gridLineDash = [10, 8] }