跳到主要内容

show_markers

Description

显示/隐藏页面上的标记

show_markers: boolean

Example

var marker1 = gantt.addMarker({ ...}); 
var marker2 = gantt.addMarker({ ...});
var marker3 = gantt.addMarker({ ...});

gantt.config.show_markers = false; // 隐藏所有3个标记

默认值: true

Details

注释

此选项在 marker 扩展中定义,因此您需要启用 marker 插件。请在 添加垂直标记 文章中阅读详细信息。

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.