This component is heavily inspired by this demo.
The responsive alternative of this component is ResponsiveCalendar
,
it also offers a canvas implementations, see
CalendarCanvas.
See the dedicated guide on how to setup legends for this component.
Chart data.
start date
end date
Chart width.
Chart height.
'Depends on device'
Adjust pixel ratio, useful for HiDPI screens.
Chart margin.
'horizontal'
defines calendar layout direction.
'center'
defines how calendar should be aligned inside chart container.
0
Minimum value.
'auto'
Maximum value.