Bar Chart
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
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
| Name | Type | Default |
|---|---|---|
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 |
— |
— |