shows the critical path in the chart
Available only in PRO Edition
gantt.config.highlight_critical_path = true;
gantt.init("gantt_here");
This functionality is available in the PRO edition only.
This option is defined in the critical_path extension, so you need to activate the critical_path plugin. Read the details in the Critical Path article.