score:2

Accepted answer

Taking your first time,

GMT: Thu, 16 Jan 2014 05:00:00 GMT
Your time zone: 1/16/2014 12:00:00 AM GMT-5

I'm assuming it's localtime not GMT and highcharts is shifting the label 5 hours. If you shift your time do it's 16 Jan 2014 00:00:00 GMT, the label will be centered.

Updated fiddle.

OR

If you want to use local time adjust highcharts global option.

Highcharts.setOptions({
    global: {
        useUTC: false
    }
});

New fiddle with this option.

score:0

Set pointRange parameter and tickInterval

Other solution is using categories.


Related Articles