87,984
社区成员
发帖
与我相关
我的任务
分享 xAxis: [{
//tickmarkPlacement: 'on',
startOnTick: true,
endOntick: true,
lineColor: "#000000",
title:
{ text: '時刻',
style: {
color: '#000000'
}
},
type: 'datetime',
// tickInterval: 60 * 60 * 1000,
tickPixelInterval: 50,
labels: {
y:20,
style: {
fontSize: '12px',
color: '#000000'
},
// min:0,
rotation: -45,
tickLength: 10,
formatter: function() {
return Highcharts.dateFormat('%H:%M', this.value);
}
}
},
{
//tickmarkPlacement: 'on',
startOnTick: true,
endOnTick: true,
lineColor: "#000000",
title:
{ text: '時刻',
style: {
color: '#000000'
}
},
type: 'datetime',
// tickInterval: 60 * 60 * 1000,
tickPixelInterval: 50,
labels: {
y:20,
style: {
fontSize: '12px',
color: '#000000'
},
//min:0,
rotation: -45,
tickLength: 10,
formatter: function() {
return Highcharts.dateFormat('%H:%M', this.value);
}
}
}],
这是设置的两个x轴,改来改去怎么都不行