Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 455
Stanimir Stoyanov Avatar asked Dec 03 '25 13:12

Stanimir Stoyanov


1 Answers

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',
    ....
like image 189
Stanimir Stoyanov Avatar answered Dec 06 '25 02:12

Stanimir Stoyanov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!