如图所以x轴内容间隔显示,需要将x轴内容显示全。
interval:0, rotate:40,添加这两项即可,添加位置如下:
axisLabel: {
show: true,
interval:0,
rotate:40,
textStyle: {
color: '#333'
}
},
添加后结果: