the problem is your json data. it is not in a format that highstock can immediately utilize to show as datetime on the x-axis. the problem is that your strings, for example "30 june 2014 19:14", are not timestamps.

the x-axis needs timestamps in milliseconds (since 1. january 1970). beware that some timestamps received from other sources may be in seconds, not milliseconds. if that is the problem you must multiply them by 1000.

when using strings it won't really make sense to highstock, so highstock just pretends the timestamp of your data is 0, 1, 2... which translates to 00:00:00.000 (0 milliseconds), 00:00:00.001 (1 millisecond), 00:00:00.002 (2 milliseconds)...

you need to convert your string representation of a date into a timestamp. i'm not sure if you can manipulate the format you receieve your json in, but if you can't you can post-process it to transform the data, like this (jsfiddle example):

var data = [
    ["30 june 2014 19:15",24],
    ["30 june 2014 19:16",41],
    ["30 june 2014 19:17",12],
    ["30 june 2014 19:18",8]

var timestampdata = [];

for(i in data) {
    timestampdata.push([new date(data[i][0]).gettime(), data[i][3]]);

    series: [{
        data: timestampdata

the essence here is that new date(data[i][0]) parses your string into a date-object with values for year, month day... and you then use the gettime() function of that object to get the timestamp.

Related Query

More Query from same tag