highlight_critical_path
info
This functionality is available in the PRO edition only.
Description
Shows the critical path in the chart
highlight_critical_path: boolean
Example
gantt.config.highlight_critical_path = true; /*!*/
gantt.init("gantt_here");
Default value: false
Related samples
Details
note
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.
While the option is enabled, each change of a task or link repaints the whole chart. On large charts, enable the option only when users need to see the critical path, or group changes with batchUpdate.
Related API
Related Guides
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.