加入设置tickInterval = 5
而xAxisData 的数据长度不是5的倍数X轴就会补足数据 数据为数组的下标
xAxis: {
tickInterval: 5,
showLastLabel: true,
showFirstLabel: true,
categories: [1,2,3,4,5,6,7,8,9]
},
加入设置tickInterval = 5
而xAxisData 的数据长度不是5的倍数X轴就会补足数据 数据为数组的下标
xAxis: {
tickInterval: 5,
showLastLabel: true,
showFirstLabel: true,
categories: [1,2,3,4,5,6,7,8,9]
},