1 自定义折线点图
series:[{
type: line,
symbol:'emptyCircle,
symbolSize: 1.5,
label:{
show: true,
position: top,
textStyle:{
color:red,
fontSize: 14
},
},
itemStyle:{
borderColor: yellow,
borderWidth: 1,
emphasis:{
//鼠标经过时的样式
color: red
}
}
}]
2 x 坐标文本垂直显示
xAxis:{
axisLabel:{
textStyle:{
color: red,
},
formatter: function(val){
return val.split(""