我尝试使用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/
谢谢!