Commit fddb5188 by zhangquan

bug修复

1 parent a148ce38
......@@ -584,8 +584,33 @@ export default {
}
]
let _otherSeries =
xList.length < 8
? []
xList.length <= 8
? [{
type: 'line',
name: '周用车天数',
lineStyle: {
color: '#FDA886' // 设置线条颜色
},
itemStyle: {
color: '#FDA886' // 设置数据点颜色
},
areaStyle: {
// 使用 areaStyle 来设置渐变背景
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: 'rgba(253,168 ,134, 0.8)'
}, // 渐变起始颜色
{
offset: 1,
color: 'rgba(253,168 ,134, 0.2)'
} // 渐变结束颜色
])
},
yAxisIndex: 1,
connectNulls: true,
data: y2DataList
}]
: [
{
type: 'line',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!