Highcharts
时间轴显示长日期格式 如:2013-02-25 11:43:25 怎么实现啊xAxis: {
reversed: false,
type:"datetime",
title: {
text: '攫取时间'
},
dateTimeLabelFormats:
{
second: '%H:%M:%S',
minute: '%e. %b %H:%M',
hour: '%b/%e %H:%M',
day: '%e日/%b',
week: '%e. %b',
month: '%b %y',
year: '%Y'
},
gridLineWidth: 1
},
目前显示如此 11:43:25
x轴数据 用unix时间戳给的 如: series: [{
data:[[1361763805000,17.8]]
}]
highcharts js --------------------编程问答-------------------- 解决了 : 加上 labels: {
formatter: function () {
return new Date(this.value).toLocaleString();
}
},
时间戳转当地时间 ok --------------------编程问答--------------------
用Highcharts 里给的
dateTimeLabelFormats:
{
second: '%H:%M:%S',
minute: '%e. %b %H:%M',
hour: '%b/%e %H:%M',
day: '%e日/%b',
week: '%e. %b',
month: '%b %y',
year: '%Y'
},
怎么用 求高手指点啊!!!
补充:.NET技术 , ASP.NET