# Creating WPF Radial Gauge

One of the gauges you can create with the **RadGauge** control, is a radial gauge. It is represented by a circle container with a scale in it. Additionally, it can display various indicators that point to a certain value on the scale. This topic will walk you through the creation of a sample application that contains a radial RadGauge.

## Adding Telerik Assemblies Using NuGet

To use **RadGauge** when working with NuGet packages, install the `Telerik.Windows.Controls.DataVisualization.for.Wpf.Xaml` package. The [package name may vary](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/available-packages) slightly based on the Telerik dlls set - [Xaml or NoXaml](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/xaml-vs-noxaml)

Read more about NuGet installation in the [Installing UI for WPF from NuGet Package](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/nuget-installation) article.

> tip With the 2025 Q1 release, the Telerik UI for WPF has a new licensing mechanism. You can learn more about it [here](https://www.telerik.com/products/wpf/documentation/installation/licensing/installing-license-key).

## Adding Assembly References Manually

If you are not using NuGet packages, you can add a reference to the following assemblies:

* **Telerik.Licensing.Runtime**
* **Telerik.Windows.Controls**
* **Telerik.Windows.Controls.DataVisualization**

## Defining a RadialGauge with a RadialScale

The radial gauge type is represented by the **RadRadialGauge** class. The **RadRadialGauge** control is used for wrapping radial scales. You can place one or more **RadialScale** objects inside of it. In order to define a scale inside the RadialGauge control you have to use the RadialScale control. The RadialGauge works as an ItemsControl, which takes RadialScale controls as items. This means that you can have more than one scale inside the radial gauge.

> To use the **RadGauge** control and its components in XAML you have to declare the following namespace:
> `xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"`

**Example 1: Creating RadRadialGauge with a RadialScale**

```XAML
<telerik:RadRadialGauge x:Name="radialGauge"
                        Width="300"
                        Height="300">
    <telerik:RadialScale Min="1"
                         Max="12">
    </telerik:RadialScale>
</telerik:RadRadialGauge>
```

> tip To learn more about the usage of the **RadialScale** control read the [Radial Scale](https://www.telerik.com/products/wpf/documentation/controls/radgauge/features/linear-and-radial-scales/radial-scale) topic.

> caption Image 1: result from example 1

![RadRadialGauge with a RadialScale](https://www.telerik.com/products/wpf/documentation/assets/ad2fb7b9af7f3a203b2867089b3ac8c9/radgauge_gettingstarted_radialgauge_02.png)

> The examples in this article are styled with the [Windows8](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/themes-suite/windows8) theme.

## Defining an Indicator

The **RadialScale** control allows you to display different types of indicators that point to a value on the scale. To specify an indicator, use the **Indicators** property, which is of type **UIElementCollection**. This means that the **Indicators** property can hold more than one indicator. Example 2 shows a RadialScale that uses a **Needle** indicator to mark the current value as well as **Pinpoint** to mark the center of the Gauge.

**Example 2: Adding Indicators**

```XAML
<telerik:RadRadialGauge x:Name="radialGauge2"
                        Width="300"
                        Height="300">
    <telerik:RadialScale Min="1"
                         Max="12">
        <telerik:RadialScale.Indicators>
            <telerik:Needle />
            <telerik:Pinpoint/>
        </telerik:RadialScale.Indicators>
    </telerik:RadialScale>
</telerik:RadRadialGauge>
```

> caption Image 2: result from example 2

![RadRadialGauge with indicator](https://www.telerik.com/products/wpf/documentation/assets/856651cb34c762ebb6365bd2e9d7497f/radgauge_gettingstarted_radialgauge_03.png)

## Set Indicator's Position

To make the indicator point to a certain value from the scale, you have to use the **Value** property of the indicator. Example 3 shows how you can work with this property:

**Example 3: Setting indicator's position**

```XAML
<telerik:RadRadialGauge Name="radialGauge3"
                    Width="300"
                    Height="300">
    <telerik:RadialScale Name="scale"
                    Min="1"
                    Max="11">
        <telerik:RadialScale.Indicators>
            <telerik:Needle Name="needle" Value="6" />
            <telerik:Pinpoint />
        </telerik:RadialScale.Indicators>
    </telerik:RadialScale>
</telerik:RadRadialGauge>
```

> caption Image 3: result from example 3

![RadRadialGauge with Indicator position](https://www.telerik.com/products/wpf/documentation/assets/1c38f6a1b25fac16955b47677f123bc1/radgauge_gettingstarted_radialgauge_04.png)

## Telerik UI for WPF Learning Resources

* [Telerik UI for WPF Gauge Component](https://www.telerik.com/products/wpf/gauge.aspx)
* [Getting Started with Telerik UI for WPF Components](https://www.telerik.com/products/wpf/documentation/getting-started/first-steps-nuget)
* [Telerik UI for WPF Installation](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/installation-guide)
* [Telerik UI for WPF and WinForms Integration](https://www.telerik.com/products/wpf/documentation/common-information/winforms-integration/overview)
* [Telerik UI for WPF Visual Studio Templates](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/visual-studio-templates)
* [Setting a Theme with Telerik UI for WPF](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/styling-apperance-setting-a-theme-overview)
* [Telerik UI for WPF Virtual Classroom (Training Courses for Registered Users)](https://learn.telerik.com/learn/course/external/view/elearning/16/telerik-ui-for-wpf)
* [Telerik UI for WPF License Agreement](https://www.telerik.com/purchase/license-agreement/wpf-dlw-s)

## See Also

* [Ranges](https://www.telerik.com/products/wpf/documentation/controls/radgauge/features/ranges/gauge-range)
* [Indicators](https://www.telerik.com/products/wpf/documentation/controls/radgauge/features/indicators/basics)
* [Ticks](https://www.telerik.com/products/wpf/documentation/controls/radgauge/features/ticks/basics)
* [Labels](https://www.telerik.com/products/wpf/documentation/controls/radgauge/features/labels/basics)
