Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Gantt chart
posted

How to change color for selected timing  (GanttTimeEntry) on Gantt chart so that it does not change back immediately back to default when I move mouse outside the timing bar and how to get start and end times from selected GanttTimeEntry in ChartDataClicked event.

I have multiple GanttTimeEntries on one task.

I'm using NetAdvantage Windows Forms 2013.1 with Progress OpenEdge.

  • 21795
    Offline posted

    Hello Ari,

    I am just checking about the progress of this issue. Let me know if you need my further assistance on it.

    Thank you for using Infragistics Components.

  • 23930
    Suggested Answer
    Offline posted

    Hi Ari,

    Thank you for posting in our forums.

    What you could do in the ChartDataClicked event is to keep the primitive that was clicked in a form level variable. Then you will need to use the FillSceneGraph event. In it identify the primitive and set its Paint Element to the appropriate color.

    I have attached a sample demonstrating this approach.

    Let me know if you have any additional questions on this matter.

    WC_GanttColorEntry.zip