Skip to content

GaugeTile

trendminer_interface.objects.GaugeTile dataclass

Bases: TileBase[GaugeTileConfiguration]

Gauge tile

Attributes:

Name Type Description
component Tag | Attribute

The component for which the current value is displayed

mode GaugeTileMode

Display mode of the gauge.

default_range GaugeTileRange

Default range for the gauge: (min, max, label, color)

ranges list[GaugeTileRange]

Additional ranges for the gauge tile

target float | None

Target value to display in the gauge

refresh_rate Timedelta

How often the tile is refreshed if the dashboard is live.

position instance-attribute

position: tuple[int, int, int, int]

title instance-attribute

title: str

config instance-attribute

config: TConfig

component instance-attribute

component: Tag | Attribute

mode instance-attribute

default_range instance-attribute

default_range: GaugeTileRange

ranges instance-attribute

ranges: list[GaugeTileRange]

target instance-attribute

target: float | None

refresh_rate instance-attribute

refresh_rate: Timedelta