I'm almost finished with my highchart, but I am struggling to make the datetime/timestamp display correctly. I'm not sure if it's an issue with the format for the xAxis or the series.
https://i.sstatic.net/br0Xn.png
Here is my data:
[{"x":"2016-04-08 12:11:02","y":32},{"x":"2016-04-08 14:22:07","y":2},{"x":"2016-04-11 10:10:06","y":4},{"x":"2016-04-11 11:56:35","y":2},{"x":"2016-04-11 12:16:20","y":2},{"x":"2016-04-11 14:09:27","y":2},{"x":"2016-04-11 15:03:31","y":1},{"x":"2016-04-11 20:18:41","y":1172},{"x":"2016-04-11 21:00:06","y":1014}]
$('#container').highcharts('StockChart', {
rangeSelector : {
selected : 1
},
xAxis: {
type: 'datetime'
},
title : {
text : 'test'
},
series : [{
name : 'signups',
data : data,
turboThreshold : 0
}]
});
I believe it's just a small detail that I am overlooking. Thank you!