echarts的折线图的网格线(splitLine)设置成虚线
yAxis: {
type: 'value',
axisLine: { // y轴线条样式
lineStyle: {
color: 'rgba(127, 127, 127, 1)',
type: 'dashed', // 线型为虚线
}
},
splitLine: { //网格线:隐藏
lineStyle: {
color: 'rgba(127, 127, 127, 1)',
type: 'dashed', // 线型为虚线
}
},
data: ['0', '0.1', '0.2', '0.3', '0.4', '0.5', '0.6', '0.7']
},