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