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

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.