API REFERENCE

weekStart

Calendar heatmap: the first day of the week (the top row) — monday or sunday.

정의

항목값
JavaScript 프로퍼티weekStart
HTML attributeweek-start
타입CalendarWeekStart
기본값undefined
허용값monday, sunday

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

설정 예제

javascript
// sy-calendar-heatmap를 등록하고 요소를 만든 뒤 설정합니다.
chart.weekStart = "monday";