diff --git a/frontend/src/views/chart/chart/line/line.js b/frontend/src/views/chart/chart/line/line.js index ff1bce7272..ec7d326199 100644 --- a/frontend/src/views/chart/chart/line/line.js +++ b/frontend/src/views/chart/chart/line/line.js @@ -36,7 +36,9 @@ export function baseLineOption(chart_option, chart) { type: customAttr.size.lineType } y.smooth = customAttr.size.lineSmooth - customAttr.size.lineArea ? y.areaStyle = { opacity: 0.6 } : { opacity: 0 } + y.areaStyle = { + opacity: customAttr.size.lineArea ? 0.6 : 0 + } } // label if (customAttr.label) {