跳到主要内容

work_time

Description

根据工作时间而非日历时间计算任务持续时间

work_time: boolean

Example

// 显示以工作小时为单位的持续时间,并在图表中排除非工作时间段
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.