Gauge Indicator
The gauge indicator uses an indicator and a gauge chart and joins them with a bentobox.
The Method To Use
The method is s.plt.gauge_indicator()
It must contain the following input variables:
order: int
value: intAccepts the following input variables as optional:
title: Optional[str] # Title that shows in the left
description: Optional[str] # Text that shows below the title
rows_size: Optional[int] # How many rows does it occupy, by default = 1
cols_size: Optional[int] # How many columns does it occupy, by default = 6
color: Union[str, int] # Color of the gaugeExamples
When we execute this example:
s.plt.gauge_indicator(
order=0,
value=42,
title="Gauge Indicator",
description="composite chart",
)
s.plt.gauge_indicator(
order=2,
value=24,
title="Gauge Indicator",
description="composite chart",
color=2
)
In case we don't have a static limit on how many gauge indicators we have, the following pattern can be useful:
One possible result of executing the previous code is:

Last updated
Was this helpful?