Highcharts / Highstock上的日期无效

时间:2015-01-22 15:45:28

标签: javascript jquery datetime highcharts highstock

我尝试使用Highchart / Highstock渲染柱形图,但我在X轴上收到无效日期消息。

这是我的"系列"代码:

series: [
                {name: 'MCGC Av. Oitis Esquina de Azaléias - pH', 
                 data: [ [Date.UTC(2014,11,10,16,19),7.58]], 
                 tooltip: { valueDecimals: 2}},
                {name: 'MCGC Rua Buganvílias, 1401 - pH', 
                 data: [ [Date.UTC(2014,11,11,11,19),7.47]], 
                 tooltip: { valueDecimals: 2}},
                {name: 'MCGC Avenida Azaléias - Campo de Golfe - pH', 
                 data: [ [Date.UTC(2014,11,19,15,34),7.75]], 
                 tooltip: { valueDecimals: 2}},
                {name: 'MCGC Rua dos Narcisos, 135 - pH', 
                 data: [ [Date.UTC(2014,11,26,16,38),6.75]], 
                 tooltip: { valueDecimals: 2}}]

完整代码:http://jsfiddle.net/71cbebx6/

谢谢!

0 个答案:

没有答案