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