DevExpress Radial Gauge for .NET MAUI
The RadialGauge control visualizes values on a circular scale and allows you to track value changes using different visual indicators.
Radial Gauge Elements (Anatomy)
The following figure shows basic elements of a radial gauge:
Refer to the help topics below to learn more about gauge elements:
Add a Radial Gauge to a Project
Follow the steps below to add a RadialGauge
to an app:
- Install the DevExpress.Maui.Gauges NuGet package. Refer to the following topic for more information: Get Started. Note that
DevExpress.Maui.Gauges
automatically references theSkiaSharp.Views.Maui.Controls
library that is used to render gauges. - Declare the
xmlns:dx="http://schemas.devexpress.com/maui"
XAML namespace in the ContentPage. - Add
<dx:RadialGauge>
…</dx:RadialGauge>
tags to the page. - Add at least one RadialScale element to the gauge’s
Scales
collection. The scale can display tickmarks with labels and gauge indicators. SinceRadialGauge.Scales
is a content property, you can omitScales
tags in your markup.
<ContentPage ...
xmlns:dx="http://schemas.devexpress.com/maui">
<dx:RadialGauge>
<dx:RadialScale StartAngle="0"
StartValue="0" EndValue="120"
ShowTickmarkLabels="True"
MajorTickmarkCount="5"
MinorTickmarkCount="4"
TickmarkLabelPosition="Inside">
<dx:RangeIndicator StartValue="20" EndValue="50"/>
<dx:NeedleIndicator Value="60"/>
<dx:MarkerIndicator Value="100"/>
</dx:RadialScale>
</dx:RadialGauge>
</ContentPage>