본문으로 건너뛰기

scale_unit

경고

이 속성은 더 이상 사용되지 않습니다.

Description

시간 축의 단위를 설정합니다 (X축)

Example

gantt.config.scale_unit = "month";
gantt.config.date_scale = "%F, %Y";

gantt.init("gantt_here");

Default value: 'day'

Details

사용자 정의 단위를 설정할 수 있습니다. 주제에 대한 자세한 내용은 여기를 참고하세요.

노트

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

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

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.