中间区域我想显示黄色,但是目前好像因为颜色覆盖问题导致显示了橙色
配置项如下
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [{
data: [820, 932, 901, 934, 1290, 1330, 1320],
type: 'line'
},{
data: [1400, 1400, 1400, 1400, 1400, 1400, 1400],
type: 'line',
areaStyle: {
color: 'rgb(255,0,0)'
}
},{
data: [900, 900, 900, 900, 900, 900, 900],
type: 'line',
areaStyle: {
color: 'rgb(255,255,0)'
}
},{
data: [500, 500, 500, 500, 500, 500, 500],
type: 'line',
areaStyle: {
color: 'rgb(255,0,0)'
}
}]
};