본문으로 건너뛰기

step

경고

경고: 이 속성은 더 이상 권장되지 않습니다.

Description

시간 축의 눈금 간격을 설정합니다 (X축)

Example

gantt.config.scale_unit = "year";
gantt.config.step = 1;
gantt.config.date_scale = "%Y";

gantt.init("gantt_here");

Details

노트

step 속성은 더 이상 권장되지 않습니다. 대신 scalesstep 속성을 사용하세요:

gantt.config.scales = [
{unit: "month", step: 1, format: "%F, %Y"},
{unit: "week", step: 1, format: weekScaleTemplate},
{unit: "day", step: 1, format: "%D", css:daysStyle }
];

기본 값: 1

Change log

  • v6.2부터 더 이상 사용되지 않음

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.