djust-theming | Demo Home Components | Gallery Storybook Editor Diff

Calendar Heatmap

python component Charts 12 params
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
python
from djust_components.components.calendar_heatmap import CalendarHeatmap

component = CalendarHeatmap(data=None,
    year=None,
    title=None,
    color_empty='#ebedf0',
    color_min='#9be9a8',
    color_max='#216e39',
    cell_size=12,
    cell_gap=2,
    show_month_labels=True,
    show_day_labels=True,
    custom_class='',
    kwargs)
html = component.render()
PARAMETERS 12
NameTypeDefault
data <class 'dict'> None
year <class 'int'> None
title typing.Optional[str] None
color_empty <class 'str'> '#ebedf0'
color_min <class 'str'> '#9be9a8'
color_max <class 'str'> '#216e39'
cell_size <class 'int'> 12
cell_gap <class 'int'> 2
show_month_labels <class 'bool'> True
show_day_labels <class 'bool'> True
custom_class <class 'str'> ''
kwargs