work_time

enables calculating the duration of tasks in working time instead of calendar time

boolean work_time;

Example

//calculates duration in working hours and hides non-working time from the chart
gantt.config.duration_unit = "hour";
gantt.config.work_time = true;
 
gantt.init("gantt_here");


Default value:

false

Related samples

See also
Back to top