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] }