highlight_critical_path
信息
此功能仅包含在 PRO 版本中。
Description
显示图表中的关键路径
highlight_critical_path: boolean
Example
gantt.config.highlight_critical_path = true; /*!*/
gantt.init("gantt_here");
默认值: false
Related samples
Details
注释
此选项在 critical_path 扩展中定义,因此您需要激活 critical_path 插件。请在 关键路径 文章中查看详细信息。
启用此选项后,任务或链接的每次更改都会重绘整个图表。对于大型图表,请仅在用户需要查看关键路径时才启用该选项,或使用 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.