Legend in Gantt-Chart
Posted: Tue Jun 30, 2009 3:49 pm
Dear all,
hope you can help me with a question regarding Gantt-Charts.
I managed to program the Gantt-Chart you find in the attached picture. I used the following code:
(Note: I switched the vertical axis to datetime. Therefore the 40000... values are shown as dates.)
My question: The legend shows 'Ingot1' twice. How can I manage that my legend only adds one entry for each label - no matter how often it appears as a gantt-bar. For examble: Only three entrys (Ingot1, Ingot2, Ingot3) in my example?
Is there a way? Any ideas?
Heiko
hope you can help me with a question regarding Gantt-Charts.
I managed to program the Gantt-Chart you find in the attached picture. I used the following code:
Code: Select all
Series_Gantt_Bricks.AddGanttColor(1,20,40000,'Ingot1',clred);
Series_Gantt_Bricks.AddGanttColor(22,43,40000,'Ingot1',clred);
Series_Gantt_Bricks.AddGanttColor(1,25,40001,'Ingot2',clyellow);
Series_Gantt_Bricks.AddGanttColor(15,26,40002,'Ingot3',clgreen);
My question: The legend shows 'Ingot1' twice. How can I manage that my legend only adds one entry for each label - no matter how often it appears as a gantt-bar. For examble: Only three entrys (Ingot1, Ingot2, Ingot3) in my example?
Is there a way? Any ideas?
Heiko