diff --git a/frontend/src/views/chart/chart/line/line.js b/frontend/src/views/chart/chart/line/line.js index c0d164a0c5..d8439617b8 100644 --- a/frontend/src/views/chart/chart/line/line.js +++ b/frontend/src/views/chart/chart/line/line.js @@ -36,6 +36,13 @@ export function baseLineOption(chart_option, chart) { type: customAttr.size.lineType } y.smooth = customAttr.size.lineSmooth + if (customAttr.size.lineArea) { + y.areaStyle = { + opacity: 0.6 + } + } else { + delete y.areaStyle + } } // label if (customAttr.label) {