Gantt Chart change colour

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
TonyHunt
Newbie
Newbie
Posts: 15
Joined: Mon Jan 15, 2007 12:00 am

Gantt Chart change colour

Post by TonyHunt » Sat Jul 25, 2009 11:44 am

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

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Gantt Chart change colour

Post by Yeray » Mon Jul 27, 2009 9:58 am

Hi Tony,

Is the same that with any other series:

Code: Select all

PlanGantt.ValueColor[nGantt] := clWhite;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

TonyHunt
Newbie
Newbie
Posts: 15
Joined: Mon Jan 15, 2007 12:00 am

Re: Gantt Chart change colour

Post by TonyHunt » Mon Jul 27, 2009 10:26 am

: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

Post Reply