Stripline

The strip line in Gantt control is used to highlight the important event in Gantt chart part. By using this feature, you can add the strip lines to highlight important days in your project. Strip lines in Gantt can be initialized by using stripLines property and we can define date and label of the strip line by using day and label properties. Strip lines are formatted by using lineStyle, lineColor and lineWidth properties. The following code example shows you how to add the strip line in Gantt control.

  • javascript
  • $("#GanttContainer").ejGantt({
            //...
            stripLines: [{
                day: "01/02/2014",
                label: "Project Release",
                lineStyle: "dotted",
                lineColor: "blue",
                lineWidth: 2
            }]
        });

    The following screenshot shows stripline in Gantt control.