How to customize the scale values in the .NET MAUI Linear Gauge (SfLinearGauge)?
The Syncfusion® .NET MAUI Linear Gauge (SfLinearGauge) supports the customization of minimum and maximum values of the scale. This article demonstrates how to customize the scale values in the .NET MAUI Linear Gauge (SfLinearGauge).
XAML
A linear gauge’s Minimum and Maximum properties can be utilized to customize the scale values. The scale is configured in the following code example to range from a minimum value of -20 to a maximum value of 80.
<Grid VerticalOptions="Center">
<gauge:SfLinearGauge Minimum="-20" Maximum="80" Interval="20" WidthRequest="600"/>
</Grid>
Output:
Conclusion:
I hope you enjoyed learning how to customize the scale values in the .NET MAUI Linear Gauge (SfLinearGauge).
Refer to our .NET MAUI Linear Gauge feature tour page to learn about its other groundbreaking feature representations. You can also explore our .NET MAUI Linear Gauge documentation to understand how to present and manipulate data.
For current customers, check out our .NET MAUI components from the License and Downloads page. If you are new to Syncfusion®, try our 30-day free trial to check out our .NET MAUI Linear Gauge and other .NET MAUI components.
Please let us know in the comment section if you have any queries or require clarification. Contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!