Sparkline
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
from djust_components.components.sparkline import Sparkline
component = Sparkline(data=None,
variant='line',
width=100,
height=24,
color='',
stroke_width=1.5,
custom_class='',
kwargs)
html = component.render()
PARAMETERS 8
| Name | Type | Default |
|---|---|---|
data |
<class 'list'> |
None |
variant |
<class 'str'> |
'line' |
width |
<class 'int'> |
100 |
height |
<class 'int'> |
24 |
color |
<class 'str'> |
'' |
stroke_width |
<class 'float'> |
1.5 |
custom_class |
<class 'str'> |
'' |
kwargs |
— |
— |