Instance Property

gaugeColors

The gauge's colors.

Declaration

@property(nonatomic, readonly) NSArray<UIColor *> *gaugeColors;

Discussion

A gauge with more than one color appears as a gradient. The provider specifies the location of the colors using the gaugeColorLocations property. The gaugeColors and gaugeColorLocations properties must have the same number of elements.

See Also

Setting the Gauge’s Appearance

gaugeColorLocations

The location of each color in a multicolor gauge’s gradient.

style

The style that defines the gauge’s appearance.