Instance Property

gaugeColorLocations

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

Declaration

@property(nonatomic, readonly) NSArray<NSNumber *> *gaugeColorLocations;

Discussion

This property specifies the location of each color in the gaugeColors array. Each location must be a value between 0.0 and 1.0.

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

See Also

Setting the Gauge’s Appearance

gaugeColors

The gauge's colors.

style

The style that defines the gauge’s appearance.