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 12910e41aa..6acaf08342 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 @@ -390,6 +390,7 @@ export class Area extends G2ChartView { lineLineDash, label: xAxis.axisLabel.show, labelFill: xAxis.axisLabel.color, + labelOpacity: 1, labelFillOpacity: 1, labelFontSize: xAxis.axisLabel.fontSize, tick: xAxis.axisLabel.show, @@ -443,6 +444,7 @@ export class Area extends G2ChartView { lineLineDash, label: yAxis.axisLabel.show, labelFill: yAxis.axisLabel.color, + labelOpacity: 1, labelFillOpacity: 1, labelFontSize: yAxis.axisLabel.fontSize, tick: false, 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 235a5a051a..69da45002c 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 @@ -374,6 +374,7 @@ export class Line extends G2ChartView { lineLineDash, label: xAxis.axisLabel.show, labelFill: xAxis.axisLabel.color, + labelOpacity: 1, labelFillOpacity: 1, labelFontSize: xAxis.axisLabel.fontSize, grid: xAxis.splitLine.show, @@ -426,6 +427,7 @@ export class Line extends G2ChartView { lineLineDash, label: yAxis.axisLabel.show, labelFill: yAxis.axisLabel.color, + labelOpacity: 1, labelFillOpacity: 1, labelFontSize: yAxis.axisLabel.fontSize, grid: yAxis.splitLine.show,