hides non-working time from the time scale
Available only in PRO Edition
//calculates duration in working hours and hides non-working time from the chart
gantt.config.duration_unit = "hour";
gantt.config.work_time = true;
gantt.config.skip_off_time = true;
gantt.init("gantt_here");
This functionality is available in the PRO edition only.