跳到主要内容

config

Description

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

config: GanttConfigOptions

Example

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

gantt.init("gantt_here");

Details

config 对象的属性在根 API 页面的单独章节中描述,请参阅 root 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.