Stanimir Stoyanov
Stanimir Stoyanov

Reputation: 1213

HighStock xDateFormat month name

I'm using HighStock to display a stockChart. The XAxis of the HighStock chart is datetime.

How can I display the full month name in the tooltip's header?

Upvotes: 3

Views: 1345

Answers (1)

Stanimir Stoyanov
Stanimir Stoyanov

Reputation: 1213

I spent almost a full hour digging for the %B key. Hopefully it'll help someone else trying to achieve something similar.

tooltip: {
    headerFormat: '<b>{point.key}</b>',
    xDateFormat: '%B %Y',
    ....

Upvotes: 5

Related Questions