Dear all,
It seems simple but I haven't found any solution:
I want to change the color of a single Gantt-Bar (TGanttSeries).
The gantt bars have all been created by:
GanttSeries.AddGanttColor(GanttAnf,GanttEnd,1,VPCharge,clYellow);
So all Bars are colored yellow.
Afterwards I want to recolor a single bar in red.
But how is it done?
Remark: I already set GanttSeries.ColorEachPoint:=true;
Heiko
Gantt-Series: Change Color of single Gantt-Bar
Re: Gantt-Series: Change Color of single Gantt-Bar
Hi Heiko,
Use the ValueColor array. Ie:Heiko wrote:I want to change the color of a single Gantt-Bar (TGanttSeries).
The gantt bars have all been created by:
GanttSeries.AddGanttColor(GanttAnf,GanttEnd,1,VPCharge,clYellow);
So all Bars are colored yellow.
Afterwards I want to recolor a single bar in red.
But how is it done?
Remark: I already set GanttSeries.ColorEachPoint:=true;
Code: Select all
GanttSeries.ValueColor[3]:=clRed;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |