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 for non-responsive component.
Chart height for non-responsive component.
'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.
0Minimum value.
'auto'Maximum value.
Ref to the chart's container. Used on this page to generate/download the chart's image via html-to-image.