Page 1 of 1

Gantt chart - marks above Gantt bar

Posted: Sun May 16, 2004 12:42 pm
by 9337000
Moving some old Gantt charting code...

From: D6 + TeeChartPro 5.02
To: D7.1 + TeeChartPro 7.0

...it looks like the TSeriesMarks.ArrowLength semantics has changed during the transition to TCP7.0. (or indeed TCP 6.0)

In the old TCP5 chart I set a property value of 22 pixels in order to move the marks *above* the individual Gantt bars!

Under TeeChartPro 7.0 the marks seems to be centered vertically directly on top of the Gantt bars, so if I'm showing a small Gantt bar, it may be completely covered by the mark on top. The ArrowLength property is still there, only it has no apparent effect.

Is there any way to vertically move the marks above the Gantt bars in TCP 7.0?

Posted: Mon May 17, 2004 8:46 am
by Marjan
Hi.

True. For some series types (thos with YMandatory set to False) marks arrow length is not used for offsetting series marks. A workaround to this problem is to set the series YMandatory value to True or alternatively, manually reposition all series marks vertically (add extra pixels to individual series mark position y coordinates).

Posted: Mon May 17, 2004 8:51 pm
by 9337000
YMandatory:=TRUE did the trick.

Thanks Marjan!