X轴头部的而时间只能是1个小时的间隔和6小时的间隔 可以自定义几个小时的间隔吗


xAxis:
[{
// 表头的小时
tickInterval: this.hour,
// labels: {
// formatter: function () {
// return Highcharts.dateFormat(’%H’, this.value);
// }
// }
},{
// 表头的几号
tickInterval: this.day,
labels: {
formatter: function () {
return Highcharts.dateFormat(’%d’, this.value);
}
}
},
// {
// // 表头的几周
// currentDateIndicator: true,
// tickInterval:7 * this.day,
// },
{
// 表头的年加月份
tickInterval: 30 * this.day,
labels: {
formatter: function () {
return Highcharts.dateFormat(’%Y-%m’, this.value);
}
}
},],