I'm following the instructions here to create a plot with irregular time data. However, as you can see in this Fiddle, the dates in the x-axis are displaying as 00:00:00.001
, 00:00:00.002
, etc.
$("#chart").highcharts({
xAxis: {
type: "datetime",
},
area: {
visible: true
},
series: [{
data: [
[new Date(1411014072), 1],
[new Date(1412742072), 2],
[new Date(1413606072), 3]
]
}]
});
Any ideas how to fix this?