ComponentOne GanttView for WinForms
In This Topic
    Progress Lines
    In This Topic

    Progress lines are vertical lines on the timescale used to visually represent the progress of your project. The lines spike out to the left and right. The left spike indicates the work is behind schedule and the right spike indicates the work is ahead of schedule. The spike connects to the point on the taskbar that represents the task’s percentage complete for its duration. In other words, if the task is 50% complete, the spike from the progress line connects to the middle of the taskbar. In C1GanttView progress line is represented by the ProgressLine class and is drawn at the value of StatusDate property. Progress lines appear by default, but can be disabled by setting the Visible property to False. Additionally, you can also add styling to the progress line by using the LineStyle and LineColor properties of the PregressLine class.

    Displays task progress lines in the C1GanttView.

    Below code snippet shows how you can modify the Progress Lines in your project.

    C#
    Copy Code
    //Modify the color of progress line
    c1GanttView1.ProgressLine.LineColor = Color.Blue;
    //Modify the style of progress line
    c1GanttView.ProgressLine.LineStyle = ProgressLineStyle.Dot;
    
    See Also