# Gauge Pointers

C1Gauge allows you to have one or more pointers to create an attractive and interactive application. See more demos, documentation, and samples here.

## Content



Gauges may have one or several pointers. Pointer appears as a figure whole position depends on the current value. Each gauge object has the main pointer (**C1GaugeBase.Pointer**) and the collection of other pointers (**C1GaugeBase.MorePointers**).

Each pointer has the [Value](/componentone/docs/win/online-gauges/) property. The lower and upper bounds for the pointer value is specified by the **C1GaugeBase.Minimum** and **C1GaugeBase.Maximum** property of the owner gauge. If it doesn't belong to the given interval you may use the **C1GaugePointer.ValueOffset** and **C1GaugePointer.ValueFactor** properties to coerce the source value, for example, change the unit of measure.

When the Value property changes the pointer redraws at the new location immediately, by default. The [SweepTime](/componentone/docs/win/online-gauges/) property allows smooth moving the pointer. It sets the amount of time that is taken to move the pointer from [Minimum](/componentone/docs/win/online-gauges/) to [Maximum](/componentone/docs/win/online-gauges/).

There are a few properties that affect pointer's appearance. You can choose among the predefined pointer shapes, create a custom shape, or display a custom image for the pointer. The **C1GaugeBase.Offset**, **C1GaugeBase.Length**, and **C1GaugeBase.Width** properties specify the offset, length, and width of the pointer in logical coordinates at the scale's minimum position. It is possible that the offset and/or length of the pointer will be changed linearly from minimum to maximum values. So there are also the **C1GaugeBase.Offset2** and **C1GaugeBase.Length2** properties that specify the offset and length at the scale's maximum value.

Pointer values can be bound to a data source. The **C1GaugeBase.DataSource** and **C1GaugeBase.DataMember** properties allow easy binding to the main pointer. There is also the special **C1GaugeBase.BoundValue** property. This is the same as [Value](/componentone/docs/win/online-gauges/) (i.e., the value of the main pointer) but it is of type Object and returns DBNull.Value instead of Double.NaN if the pointer is "switched off". The next properties: **C1GaugeBase.MorePointersValue\_0**, **C1GaugeBase.MorePointersValue\_1**, **C1GaugeBase.MorePointersValue\_2**, **C1GaugeBase.MorePointersValue\_3** allow binding to the first four elements of the **C1GaugeBase.MorePointers** collection.

## See Also

[C1RadialGauge Pointer Cap](/componentone/docs/win/online-gauges/workingwithgaugesfor/c1radialgaugepointer)