date_scale
Description
시간 축(X축)의 형식을 설정합니다.
Example
gantt.config.scale_unit = "month";
gantt.config.step = 1;
gantt.config.date_scale = "%F, %Y";
gantt.init("gantt_here");
Default value: "%d %M"
Related samples
Details
노트
date_scale 속성은 deprecated 되었습니다. 대신 scales에 설명된 format 속성을 사용하세요:
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.