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
Image 1: Result from Example 1
Properties
RadLinearGauge class inherits from the RadGauge class - See the inherited 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.