How to change DBChart.Axes.Bottom.LabelsFormat?
Current DBChart.Axes.Bottom.Label is a Date format field, it default display format is 'dd/mm/yyyy', 'mm/yyyy'
how can change to 'yyyy年m月' or 'yyyy年m月d日' or 'yyyy年q季度' ?
"年" means year, "月" means month , "季度" means Quarter
I cannot found the answers in the forum and online tutorials and reference.
How to change DBChart.Axes.Bottom.LabelsFormat?
Re: How to change DBChart.Axes.Bottom.LabelsFormat?
Hello,
You can set the format string as the Chart1.Axes.Bottom.DateTimeFormat.
Note TeeChart internally transforms the TDateTimes to strings using DateTimeToString function here, so there you can find the supported combinations.
You can set the format string as the Chart1.Axes.Bottom.DateTimeFormat.
Note TeeChart internally transforms the TDateTimes to strings using DateTimeToString function here, so there you can find the supported combinations.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: How to change DBChart.Axes.Bottom.LabelsFormat?
Thank you, but not work, how to get the full documents or help ?
Current online documents seems incomplete.
The Tee9new.exe demos' search function not work.
Current online documents seems incomplete.
The Tee9new.exe demos' search function not work.
Re: How to change DBChart.Axes.Bottom.LabelsFormat?
Hello,
Thanks in advance.
Could you please post an image showing what would you like to achieve?Jeff wrote:Thank you, but not work, how to get the full documents or help ?
In the online docs, I can find the TeeChart VCL tutorials, and inside it I can find the Tutorial 4 - Axis Control #Labels section.Jeff wrote:Current online documents seems incomplete.
If I search for "DateTimeFormat" in the Features Demo I get an AV but it continues and I get 4 results: If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.Jeff wrote:The Tee9new.exe demos' search function not work.
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |