Page 1 of 1

Text in drag marks is truncated at the 8th/9th line

Posted: Mon Jun 19, 2006 7:55 am
by 9336299
Hi,

:arrow: We have a problem with the capability of drag marks. It seems that drag marks truncate its text after about 270(to be confirmed) characters, or in our case, at the 8th/9th line of our drag mark in exemple that I have posted in newsgroup :?.

:?: How can we extend the number of characters supported by drag marks?

Thanks for your help

Posted: Mon Jun 19, 2006 11:15 am
by narcis
Hi SiA,

Thanks for reporting.
We have a problem with the capability of drag marks. It seems that drag marks truncate its text after about 270(to be confirmed) characters, or in our case, at the 8th/9th line of our drag mark in exemple that I have posted in newsgroup.


We could reproduce the issue here. There's a 255 character limit because in Delphi 1 Strings where current ShortStrings. We have changed that for next releases.
How can we extend the number of characters supported by drag marks?


If you are a TeeChart Pro source code customer you can change the 255 character limit at TeEngine.pas, in TSeriesMarks.DrawText and TSeriesMarks.TextWidth.