---
title: CLKSimpleGaugeProvider
framework: clockkit
role: symbol
role_heading: Class
path: clockkit/clksimplegaugeprovider
---

# CLKSimpleGaugeProvider

A gauge that shows a fractional value.

## Declaration

```swift
class CLKSimpleGaugeProvider
```

## Mentioned in

Creating a timeline entry

## Overview

Overview A simple gauge provider displays values that map to a 0.0 to 1.0 range. For example, you could use the gauge to show the percentage of a task that has been completed, or the current temperature within a specified temperature range. note: Tinted graphic complications display gauges using a solid color chosen by the user. For time intervals, use the CLKTimeIntervalGaugeProvider.

## Topics

### Creating a Simple Gauge Provider

- [init(style:gaugeColor:fillFraction:)](clockkit/clksimplegaugeprovider/init(style:gaugecolor:fillfraction:).md)
- [init(style:gaugeColors:gaugeColorLocations:fillFraction:)](clockkit/clksimplegaugeprovider/init(style:gaugecolors:gaugecolorlocations:fillfraction:).md)

### Getting Information About the Gauge

- [fillFraction](clockkit/clksimplegaugeprovider/fillfraction.md)

## Relationships

### Inherits From

- [CLKGaugeProvider](clockkit/clkgaugeprovider.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Gauge providers

- [CLKTimeIntervalGaugeProvider](clockkit/clktimeintervalgaugeprovider.md)
- [CLKGaugeProvider](clockkit/clkgaugeprovider.md)
- [CLKSimpleGaugeProviderFillFractionEmpty](clockkit/clksimplegaugeproviderfillfractionempty.md)
- [CLKGaugeProviderStyle](clockkit/clkgaugeproviderstyle.md)
