Page 1 of 1

left justify mark text

Posted: Tue Jan 16, 2007 2:30 am
by 9337315
In tchart 5.02 I need to know how to left justify the mark text in multiline marks. It appears that the default is to center all lines after the first. I need to know how to left justify the other lines.
Thanks!

Posted: Tue Jan 16, 2007 8:21 am
by yeray
You can use the TextAlign property to justify your series marks as you want.

Code: Select all

Series1.Marks.TextAlign := taLeftJustify;

left justify

Posted: Tue Jan 16, 2007 2:12 pm
by 9337315
Thanks anyway, but that doesn't seem to be supported in v5.02.

Posted: Tue Jan 16, 2007 3:10 pm
by narcis
Hi WCantrall,

I can't tell you for sure when it was exactly implemented however, it is supported with current TeeChart Pro v7 VCL.

Posted: Sun Feb 25, 2007 4:57 am
by 9339638
Im using TeeChart Pro v7.07 VCL and I do not see a TextAlign property for series marks.

Code: Select all

Series1.Marks.TextAlign := taLeftJustify;
just gives me an undeclared identifier error

Posted: Mon Feb 26, 2007 8:19 am
by yeray
Excuse us, you're right. This property has been added at version 8 beta and thats what confused us because it's the one we're working in. If you're interested on beta testing v8 let us know and we will provide you the necessary information.

Posted: Mon Feb 26, 2007 1:59 pm
by 9339638
np, but it did motivate me to add it on my end. :wink: