Instance Property


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


var gaugeColorLocations: [NSNumber]? { get }


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

var gaugeColors: [UIColor]?

The colors of the gauge.

var style: CLKGaugeProviderStyle

The style that defines the gauge’s appearance.