From 3fd3099d510e5232693235566ebe7a478311942b Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 26 Jan 2022 10:50:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20AntV=E7=BA=BF=E5=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/line/line_antv.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/chart/line/line_antv.js b/frontend/src/views/chart/chart/line/line_antv.js index 816085ebf2..66e8c9b84c 100644 --- a/frontend/src/views/chart/chart/line/line_antv.js +++ b/frontend/src/views/chart/chart/line/line_antv.js @@ -157,8 +157,10 @@ export function baseAreaOptionAntV(plot, container, chart, action) { size: parseInt(s.lineSymbolSize), shape: s.lineSymbol } - options.lineStyle = { - lineWidth: parseInt(s.lineWidth) + options.line = { + style: { + lineWidth: parseInt(s.lineWidth) + } } } }