Mapantz
Posts: 29
Joined: Tue Nov 05, 2019 12:24 pm

Date time

Is there a native way to show st, nd, rd and th ordinals in the date time of xaxis and tooltips?
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Date time

Hi,

Thanks for the question!

Unfortunately, there is no native way to do this in Highcharts, but you can program it easily using the axis labels formatter and tooltip formatter.

Demo: https://jsfiddle.net/BlackLabel/khqnxjwz/

If I may clarify any issues/matters I am available at your convenience.
Best regards
Dawid Draguła
Highcharts Developer

Return to “Highcharts Usage”