calcuate text width for Gant Series

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
gkobler
Newbie
Newbie
Posts: 4
Joined: Fri Mar 07, 2025 12:00 am

calcuate text width for Gant Series

Post by gkobler » Tue Jul 29, 2025 9:05 am

Hello

My problem are i try to calculate the text width of a Gant series.

Follow a demo of my program, to show my problem. At the moment, i have mutch free space between the right border and the end of the text. (see Attached file).

But i need the gap, because sometimes the text are mutch longer than at the example.

So my goal are to calculate the text with, and setup the margin automaticly.

May somebody has me a hint.

Thanks in advanced
Gregor
Attachments
zTIUMgIn0I.png
zTIUMgIn0I.png (85.51 KiB) Viewed 46 times

Post Reply