API REFERENCE
weekStart
Calendar heatmap: the first day of the week (the top row) — monday or sunday.
Definition
| Item | Value |
|---|---|
| JavaScript property | weekStart |
| HTML attribute | week-start |
| Type | CalendarWeekStart |
| Default | undefined |
| Allowed values | monday, sunday |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- CalendarWeekStart
Type definition
Configuration example
// Register sy-calendar-heatmap and create the element before configuring it.
chart.weekStart = "monday";