From 18c2c190d274eda95b3d54139dc3da9004d39e70 Mon Sep 17 00:00:00 2001 From: junjie Date: Mon, 25 Oct 2021 17:01:05 +0800 Subject: [PATCH] fix: rollback --- frontend/src/views/chart/chart/line/line.js | 7 +++++++ 1 file changed, 7 insertions(+) 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) {