Infographics text bubble
The Method To Use
title: str
text: str
order: int
# The parameters that the chart function will take when executed
chart_parameters: Dictrows_size: int = 3
cols_size: int = 12
# The funcion that will be executed passing the previous parameters,
# by default it will use a free_echarts bar chart
chart_function: Optional[Callable] = None
# the background image for the bubble
background_url: Optional[str] = None
# If there is no image this color will be used as the background
background_color: str = 'var(--background-default)'
# Where the bubble will be located ['top', 'bottom', 'left', 'right']
bubble_location: str = 'top'
# The image located avobe the bubble in the horizontal configs,
# if the string 'default' is passed it will take a default image
image_url: Optional[str] = None
# Size of the previous image
image_size: int = 100Examples



Last updated
Was this helpful?