# Creating Linear Gauge

One of the gauges you can create with the **RadGauge** suite, is a linear gauge. It is represented by a rectangular container with a linear 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 linear RadGauge.

## Assembly References

In order to use the controls from the **RadGauge** suite in your projects, you have to add references to the following assemblies:

* `Telerik.WinUI.Controls.dll`
* `Telerik.Licensing.Runtime.dll`

## Defining a Linear Gauge

The linear gauge type is represented by the **RadLinearGauge** class. It is a linear scale, which can display multiple scales and ranges.

#### **Example 1: Creating RadLinearGauge**

```XAML
<Grid xmlns:dataVisualization="using:Telerik.UI.Xaml.Controls.DataVisualization">
	<dataVisualization:RadLinearGauge Height="200" MaxValue="50" LabelOffset="-10" telerik:RadLinearGauge.Orientation="Vertical" />
</Grid>
```

#### **Image 1: Result from Example 1**

![WinUI RadGauge RadLinearGauge](https://www.telerik.com/winui/documentation/assets/854e34ecd2e63a57bd5344d9db2dfefc/radgauge-lineargaugeexample.png)

## Properties

> **RadLinearGauge** class inherits from the **RadGauge** class - [See the inherited properties](https://www.telerik.com/winui/documentation/controls/radgauge/getting-started/properties).

* **LabelOffset** (double): Gets or sets an offset that is used to nudge the labels to the right or left (top/bottom if Orientation is horizontal) of the ticks. This is an attached property.

## Telerik UI for WinUI Learning Resources

* [Telerik UI for WinUI Gauge Component](https://www.telerik.com/winui/gauges)
* [Getting Started with Telerik UI for WinUI Components](https://www.telerik.com/winui/documentation/getting-started/first-steps-nuget)
* [Telerik UI for WinUI Installation](https://www.telerik.com/winui/documentation/installation-and-deployment/installing-which-file-do-i-need)
* [Telerik UI for WinUI Examples](https://www.telerik.com/winui/documentation/examples/demos-app)
* [Telerik UI for WinUI Accessibility](https://www.telerik.com/winui/documentation/common/accessibility)
* [Telerik UI for WinUI License Agreement](https://www.telerik.com/purchase/license-agreement/winui)

## See Also

* [Creating Radial Gauge](https://www.telerik.com/winui/documentation/controls/radgauge/getting-started/creating-radial-gauge)
