- 背景网格虚线
splitLine: {
show: true,
lineStyle: {
type: 'dashed'
}
},
- 背景渐变
series: [
{
areaStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
{ offset: 0, color: "#FE98F5" },
{ offset: 1, color: "#FFFFFF" }
])
},
}]
- 折线图起始点从0开始
xAxis: {
boundaryGap: false
},