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

Bar Chart

python component Charts 9 params
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
python
from djust_components.components.bar_chart import BarChart

component = BarChart(data=None,
    labels=None,
    title=None,
    width=400,
    height=250,
    color='',
    show_values=True,
    custom_class='',
    kwargs)
html = component.render()
PARAMETERS 9
NameTypeDefault
data <class 'list'> None
labels <class 'list'> None
title typing.Optional[str] None
width <class 'int'> 400
height <class 'int'> 250
color <class 'str'> ''
show_values <class 'bool'> True
custom_class <class 'str'> ''
kwargs