跳到主要内容

config

Description

定义日期、刻度、控件的配置选项

config: GanttConfigOptions

Example

//设置时间刻度的格式
gantt.config.date_scale = "%F, %Y";

gantt.init("gantt_here");

Details

config 对象的属性在主 API 页面 "Gantt API: Properties" 中有详细说明。

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.