step
Description
시간 축(X축)의 증가 단위를 정의합니다.
Example
gantt.config.scale_unit = "year";
gantt.config.step = 1;
gantt.config.date_scale = "%Y";
gantt.init("gantt_here");
Default value: 1
Related samples
Details
노트
step 속성은 deprecated 되었습니다. 대신 scales에서 step을 설정하세요:
gantt.config.scales = [
{unit: "month", step: 1, format: "%F, %Y"},
{unit: "week", step: 1, format: weekScaleTemplate},
{unit: "day", step: 1, format: "%D", css:daysStyle }
];
Related API
Related Guides
Change log
- v6.2부터 deprecated 되었습니다.
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.