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

Sparkline

python component Charts 8 params
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
python
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
NameTypeDefault
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