1、
grid: {
left: '2%',
right: '5%',
bottom: '3%',
containLabel: true
},
containLabel: true 控制x軸內內容是否允許溢出
2、
xAxis: {
name: "日期",
type: "category",
boundaryGap: true,
data: this.xAxis.map(function (str) {
return str.replace(' ', '\n')
})
},
此爲日期摺疊