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
calcuate text width for Gant Series
calcuate text width for Gant Series
- Attachments
-
- zTIUMgIn0I.png (85.51 KiB) Viewed 51 times
Re: calcuate text width for Gant Series
Hello,
This looks more a matter of calculating the width of the axis label than the gantt series.
I'd suggest you to take a look a the PlaceAxis method I implemented time ago (here). It should allow you to set the margin your axis labels require.
If you still find problems with it, please don't hesitate to arrange a simple example project we can run as-is to reproduce the situation here.
This looks more a matter of calculating the width of the axis label than the gantt series.
I'd suggest you to take a look a the PlaceAxis method I implemented time ago (here). It should allow you to set the margin your axis labels require.
If you still find problems with it, please don't hesitate to arrange a simple example project we can run as-is to reproduce the situation here.
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |