# Gauge Decorators

How to implement Gauge decorators in the C1Gauge control. See more demos, documentation, and samples here.

## Content



Decorators graduate the range of possible values. They are derived from the **C1GaugeDecorator** class. The following is the list of available decorators:

*   [C1GaugeLabels](/componentone/docs/win/online-gauges/) – draws a sequence of labels on the gauge. Labels have the [Format](/componentone/docs/win/online-gauges/) property that specifies the numeric format. To prepend or append values with arbitrary text use the custom numeric format. If this doesn't help, the [FormatLabel](/componentone/docs/win/online-gauges/) event gives unlimited options for the value formatting. Use the [Name](/componentone/docs/win/online-gauges/) property to distinguish label decorators in the event handler. The **C1GaugeLabels.FontSize** property should be set to some non-default value to scale the font size if the gauge's dimension changes.
*   [C1GaugeSingleLabel](/componentone/docs/win/online-gauges/) – this is a single label with almost same options as C1GaugeLabels. It has the **C1GaugeSingleLabel.Value** property that can be bound to a pointer using the [PointerIndex](/componentone/docs/win/online-gauges/) property. Also, you can assign fixed text to a single label using the [Text](/componentone/docs/win/online-gauges/) property. The [Angle](/componentone/docs/win/online-gauges/) and [Position](/componentone/docs/win/online-gauges/) properties give an ability to display the label at an arbitrary position.
*   [C1GaugeMarks](/componentone/docs/win/online-gauges/) – displays a sequence of tick marks on the gauge. There are a few predefined shapes for the marks that can be selected using the [Shape](/componentone/docs/win/online-gauges/) property. Also, you can specify a custom shape using the [CustomShape](/componentone/docs/win/online-gauges/) property or display an image for each mark when using the [CustomImage](/componentone/docs/win/online-gauges/) property.
*   [C1GaugeSingleMark](/componentone/docs/win/online-gauges/) – displays a single mark at the given position.
*   [C1GaugeRange](/componentone/docs/win/online-gauges/) – shows a range on the gauge. The range may have constant or variable locations and widths. It can be filled with simple or value-dependent gradient.

## See Also

[Decorator Scales](/componentone/docs/win/online-gauges/workingwithgaugesfor/gaugedecorators/decoratorscales)

[Decorator ValueColors](/componentone/docs/win/online-gauges/workingwithgaugesfor/gaugedecorators/decoratorvaluecolors)