scale_offset_minimal
Description
将最小刻度单位(在使用多条刻度时)设为前导/尾部空白区间的间隔
scale_offset_minimal: boolean
Example
gantt.config.scale_offset_minimal = false;
Default value: true
Details
如果刻度区间未被明确指定(通过 start_date、 end_date 选项),dhtmlxGantt 将基于最早任务和最晚任务的日期来计算它。 此外,它在刻度的开头和结尾处添加一个空区间。默认情况下,这个“空区间”等于所使用刻度的最小单位(若使用多条刻度)。
如果你禁用该选项,dhtmlxGantt 将添加一个空区间,其值等于 scales 选项的 unit 属性的值。
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.