hi
i have a chart that in its x axis we show a date (type datetime out of a cds) in a format dd/mm/yy.
all is well, but now i want to add the day of week for that date.
i didnt find any tool that does that so i tried to use the event: Chart1GetAxisLabel but it never seems to be triggered
no matter what i set in labels-style.
im using teechart 8.05
what am i missing?
how can i add the "day of week" to show near the date itself?
thanks
change x axis label
Re: change x axis label
Hi Nati,
You have to set a DateTimeFormat following the rules you can see here. For example:
You have to set a DateTimeFormat following the rules you can see here. For example:
Code: Select all
Chart1.Axes.Bottom.DateTimeFormat:='ddd dd/MM/yyyy';
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |