Skip to main content

work_time

Description

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

work_time: boolean

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