fix:修改迷你图默认颜色

main
liu.shiyi 1 year ago
parent 2ac32ef04a
commit dc3df52394

@ -70,7 +70,7 @@ const setting = [
type: 'gradual', // 设置组件类型 type: 'gradual', // 设置组件类型
field: 'lineStyle_stroke', // 字段 field: 'lineStyle_stroke', // 字段
optionField: 'lineStyle.stroke', // 对应options中的字段 optionField: 'lineStyle.stroke', // 对应options中的字段
value: 'l(0) 0:#648ff7 1:#62FF00', value: 'l(0) 0:#6b74e4 1:#4391f4',
tabName: 'custom', tabName: 'custom',
groupName: 'graph' groupName: 'graph'
}, },
@ -100,7 +100,7 @@ const option = {
autoFit: true, autoFit: true,
smooth: true, smooth: true,
lineStyle: { lineStyle: {
stroke: 'l(0) 0:#648ff7 1:#62FF00', stroke: 'l(0) 0:#6b74e4 1:#4391f4',
lineWidth: 2 lineWidth: 2
} }
} }

@ -69,7 +69,7 @@ const setting = [
type: 'gradual', // 设置组件类型 type: 'gradual', // 设置组件类型
field: 'line_color', // 字段 field: 'line_color', // 字段
optionField: 'line.color', // 对应options中的字段 optionField: 'line.color', // 对应options中的字段
value: 'l(0) 0:#648ff7 1:#62FF00', value: 'l(0) 0:#6b74e4 1:#4391f4',
tabName: 'custom', tabName: 'custom',
groupName: 'graph' groupName: 'graph'
}, },
@ -78,7 +78,7 @@ const setting = [
type: 'gradual', // 设置组件类型 type: 'gradual', // 设置组件类型
field: 'areaStyle_fill', // 字段 field: 'areaStyle_fill', // 字段
optionField: 'areaStyle.fill', // 对应options中的字段 optionField: 'areaStyle.fill', // 对应options中的字段
value: 'l(0) 0:#648ff7 1:#62FF00', value: 'l(0) 0:#6b74e4 1:#4391f4',
tabName: 'custom', tabName: 'custom',
groupName: 'graph' groupName: 'graph'
}, },
@ -123,11 +123,11 @@ const option = {
autoFit: true, autoFit: true,
smooth: true, smooth: true,
areaStyle: { areaStyle: {
fill: 'l(0) 0:#648ff7 1:#62FF00', fill: 'l(0) 0:#6b74e4 1:#4391f4',
fillOpacity: 0.15 fillOpacity: 0.15
}, },
line: { line: {
color: 'l(0) 0:#648ff7 1:#62FF00', color: 'l(0) 0:#6b74e4 1:#4391f4',
size: 1 size: 1
} }
} }

Loading…
Cancel
Save