From dc3df5239450cfe40f44db48b39a26aa16dcce87 Mon Sep 17 00:00:00 2001 From: "liu.shiyi" Date: Wed, 15 Nov 2023 17:50:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E8=BF=B7=E4=BD=A0?= =?UTF-8?q?=E5=9B=BE=E9=BB=98=E8=AE=A4=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packages/G2Plots/折线图/迷你基础折线图.js | 4 ++-- .../packages/G2Plots/折线图/迷你面积图.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/data-room-ui/packages/G2Plots/折线图/迷你基础折线图.js b/data-room-ui/packages/G2Plots/折线图/迷你基础折线图.js index c136fdf4..85921a13 100644 --- a/data-room-ui/packages/G2Plots/折线图/迷你基础折线图.js +++ b/data-room-ui/packages/G2Plots/折线图/迷你基础折线图.js @@ -70,7 +70,7 @@ const setting = [ type: 'gradual', // 设置组件类型 field: 'lineStyle_stroke', // 字段 optionField: 'lineStyle.stroke', // 对应options中的字段 - value: 'l(0) 0:#648ff7 1:#62FF00', + value: 'l(0) 0:#6b74e4 1:#4391f4', tabName: 'custom', groupName: 'graph' }, @@ -100,7 +100,7 @@ const option = { autoFit: true, smooth: true, lineStyle: { - stroke: 'l(0) 0:#648ff7 1:#62FF00', + stroke: 'l(0) 0:#6b74e4 1:#4391f4', lineWidth: 2 } } diff --git a/data-room-ui/packages/G2Plots/折线图/迷你面积图.js b/data-room-ui/packages/G2Plots/折线图/迷你面积图.js index f2a616c4..85c52906 100644 --- a/data-room-ui/packages/G2Plots/折线图/迷你面积图.js +++ b/data-room-ui/packages/G2Plots/折线图/迷你面积图.js @@ -69,7 +69,7 @@ const setting = [ type: 'gradual', // 设置组件类型 field: 'line_color', // 字段 optionField: 'line.color', // 对应options中的字段 - value: 'l(0) 0:#648ff7 1:#62FF00', + value: 'l(0) 0:#6b74e4 1:#4391f4', tabName: 'custom', groupName: 'graph' }, @@ -78,7 +78,7 @@ const setting = [ type: 'gradual', // 设置组件类型 field: 'areaStyle_fill', // 字段 optionField: 'areaStyle.fill', // 对应options中的字段 - value: 'l(0) 0:#648ff7 1:#62FF00', + value: 'l(0) 0:#6b74e4 1:#4391f4', tabName: 'custom', groupName: 'graph' }, @@ -123,11 +123,11 @@ const option = { autoFit: true, smooth: true, areaStyle: { - fill: 'l(0) 0:#648ff7 1:#62FF00', + fill: 'l(0) 0:#6b74e4 1:#4391f4', fillOpacity: 0.15 }, line: { - color: 'l(0) 0:#648ff7 1:#62FF00', + color: 'l(0) 0:#6b74e4 1:#4391f4', size: 1 } }