score:0

highcharts accepts datetime type only as timestamp in miliseconds so you have to parse it to the valid format to make a chart work.

data: [
    [new date("2016-10-24").gettime(), 22.0, 25.0],
    [new date("2016-10-25").gettime(), 23.0, 25.0],
    [new date("2016-10-26").gettime(), 24.0, 25.0]
  ]

example: http://jsfiddle.net/n5dh4607/

score:0

you can use php's strtotime function, which gives you epoch time in seconds, and multiply the result by 1,000 to get the milliseconds that are required.

reference:


Related Query

More Query from same tag