Page 1 of 1

Gantt Chart change colour

Posted: Sat Jul 25, 2009 11:44 am
by 9243846
I am adding an item to a Gantt chart with the AddGanttColor method.
eg: nGantt := PlanGantt.AddGanttColor(dStartTime,dEndTime,nTool,'',nColor);

I'm OK changing Start or End values eg: PlanGantt.StartValues[nGantt] := dStartTime;

How do I change the colour?

Best Wishes

Tony

Re: Gantt Chart change colour

Posted: Mon Jul 27, 2009 9:58 am
by yeray
Hi Tony,

Is the same that with any other series:

Code: Select all

PlanGantt.ValueColor[nGantt] := clWhite;

Re: Gantt Chart change colour

Posted: Mon Jul 27, 2009 10:26 am
by 9243846
:oops:

You have my sincere apologies. I don't know HOW you put up with such stupid customers.

As usual, my fault, I was using that but the series was off - screen.

:oops:

Tony