API REFERENCE

weekStart

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

Definition

ItemValue
JavaScript propertyweekStart
HTML attributeweek-start
TypeCalendarWeekStart
Defaultundefined
Allowed valuesmonday, sunday

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

Configuration example

javascript
// Register sy-calendar-heatmap and create the element before configuring it.
chart.weekStart = "monday";