Skip to main content

GaugeProgressRing

A ring filled from GaugeChart.min_value up to its value, like a progress bar bent along the gauge's arc.

Inherits: GaugeRing

Properties

  • bgcolor - The color of the unfilled part of this ring.
  • color - The color of the filled part of this ring.
  • stroke_cap - The shape of the ends of the filled part and of the background track.
  • value - The value the ring is filled up to.

Properties​

bgcolorclass-attributeinstance-attribute​

bgcolor: ColorValue | None = None

The color of the unfilled part of this ring.

If None, the unfilled part is not drawn.

colorclass-attributeinstance-attribute​

color: ColorValue | None = None

The color of the filled part of this ring.

Defaults to ColorScheme.primary.

stroke_capclass-attributeinstance-attribute​

stroke_cap: StrokeCap = StrokeCap.BUTT

The shape of the ends of the filled part and of the background track.

valueinstance-attribute​

value: Number

The value the ring is filled up to.

Must be between GaugeChart.min_value and GaugeChart.max_value, inclusive.