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