work_time

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

boolean work_time;

Example

// 显示以工作小时为单位的持续时间,并在图表中排除非工作时间段
gantt.config.duration_unit = "hour";
gantt.config.work_time = true;
 
gantt.init("gantt_here");


Default value:

false

Related samples

See also
Back to top