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 } }