Having trouble getting help?
Contact Support
Contact Support
Stripline
19 Sep 20171 minute to read
Stripline in Gantt control is used to highlight the important event in Gantt chart part. By using this feature, you can add the striplines to highlight important days in your project. The following code example shows you how to add the stripline in Gantt control.
<ej-gantt
//...
[stripLines]= "stripLines">
</ej-gantt>
import {Component} from '@angular/core';
@Component({
selector: 'ej-app',
templateUrl: 'app/app.component.html',
})
export class AppComponent {
public stripLines: any;
constructor() {
this.stripLines = [{
day: "01/02/2014",
label: "Project Release",
lineStyle: "dotted",
lineColor: "Darkblue",
lineWidth: 2
}]
}
}
The following screenshot shows stripline in Gantt control.