---
title: gaugeColorLocations
framework: clockkit
role: symbol
role_heading: Instance Property
path: clockkit/clkgaugeprovider/gaugecolorlocations
---

# gaugeColorLocations

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

## Declaration

```swift
var gaugeColorLocations: [NSNumber]? { get }
```

## Discussion

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](clockkit/clkgaugeprovider/gaugecolors.md)
- [style](clockkit/clkgaugeprovider/style.md)
