XLabel too long

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

XLabel too long

Post by Calou » Tue Dec 07, 2010 9:38 am

Hello,

Sometimes i have XLabels which are too long and TChart only display one on two.
Is there is a way to solve it? Perhaps add a CR if the caracter number is too long?

Thanks for help

Regards

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: XLabel too long

Post by Narcís » Tue Dec 07, 2010 2:29 pm

Hi Calou,

Yes, you could use OnGetAxisLabel or OnGetNextAxisLabel and manually parse them if they exceed your desired length. Alternatively you could set LabelsAngle to 90 so they are painter vertically.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply