Skip to main content

GaugeZone

A colored band of a GaugeZonesRing, spanning the scale from start to end.

Properties

  • color - The color of this zone.
  • end - The value at which this zone ends.
  • start - The value at which this zone starts.
  • stroke_cap - The shape of the ends of this zone.

Properties​

colorinstance-attribute​

color: ColorValue

The color of this zone.

endinstance-attribute​

end: Number

The value at which this zone ends.

Must be less than or equal to GaugeChart.max_value.

Raises:

  • ValueError - If it is not greater than or equal to start.

startinstance-attribute​

start: Number

The value at which this zone starts.

Must be greater than or equal to GaugeChart.min_value.

Raises:

  • ValueError - If it is greater than end.

stroke_capclass-attributeinstance-attribute​

stroke_cap: StrokeCap = StrokeCap.BUTT

The shape of the ends of this zone.