config

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

object config;

Example

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

Details

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

Back to top