highcharts横坐标为时间,怎么跟数据点一一对应?
$(function(){
$('#container').highcharts({
global:{
useUTC:false
},
xAxis:{
type:'datetime',
dateTimeLabelFormats:{
second:'%Y:%e.%y:%e.%b:%%H:%M:%S'
},
categories:['2013:06:1312:12:20','2013:06:1312:12:30','2013:06:1312:12:40','2013:06:1312:12:50','2013:06:1312:13:00','2013:06:1312:13:10','2013:06:1312:13:20','2013:06:1312:13:30']
},
series:[{
data:[['2013:06:1312:12:20',29.9],['2013:06:1312:12:30',71.5],['2013:06:1312:12:40',106.4],['2013:06:1312:12:50',129.2],['2013:06:1312:13:00',144.0],['2013:06:1312:13:10',176.0],['2013:06:1312:13:20',135.6],['2013:06:1312:13:30',148.5]]
//pointStart:Date.UTC(2013,0,1),
//pointInterval:10*1000//oneday
}
,{
data:[['2013:06:1312:12:50',129.2],['2013:06:1312:13:00',144.0],['2013:06:1312:13:10',176.0],['2013:06:1312:13:20',135.6],['2013:06:1312:13:30',148.5]]
//pointStart:Date.UTC(2013,0,1),
//pointInterval:10*1000//oneday
}]
});
});