Strip lines allows you to highlight certain time or time intervals in the chart. Use the start property to specify an individual line or combine it with the end property setting to specify a time interval.
jQuery
index.js
$(function(){
$("#gantt").dxGantt({
stripLines:[{
title:"Start",
start: tasks[0].start
},{
title:"Final Phase",
start: tasks[tasks.length -3].start,
end: tasks[tasks.length -1].end,
},{
title:"Current Time",
start:newDate(),
cssClass:"current-time"
}],
//...
});
});
Angular
Vue
React
ASP.NET Core Controls
ASP.NET MVC Controls
cssClass
Specifies the name of the cascading style sheet (CSS) class associated with the strip line.