본문으로 건너뛰기

scale_offset_minimal

Description

다중 스케일이 사용되는 경우 최소 스케일 단위를 시작/종료 빈 공간의 간격으로 설정합니다

scale_offset_minimal: boolean

Example

gantt.config.scale_offset_minimal = false;

기본값: 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.