Tjorriemorrie
Tjorriemorrie

Reputation: 17292

Date not showing on highstock chart

Why isn't the date on xAxis showing?

I can't seem to find anything wrong.

enter image description here

UPDATE

data: [
                [1104966000000, 1.94, 1.99, 1.91, 1.95],
                [1104793200000, 1.9, 1.95, 1.9, 1.9],
            ]

jsfiddle as requested

Upvotes: 0

Views: 202

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37588

You can use label formatter and dateFormat

EDIT:

http://jsfiddle.net/sbochan/Usrca/3/

xAxis: {
            labels: {
                formatter: function () {
                    console.log(this);
                    return Highcharts.dateFormat('%d/%m/%Y', this.value);
                }
            }
        }

Upvotes: 1

Related Questions