Page 1 of 1

XLabel too long

Posted: Tue Dec 07, 2010 9:38 am
by 10050873
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

Re: XLabel too long

Posted: Tue Dec 07, 2010 2:29 pm
by narcis
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.