Articles in this section

How to mirror the gauge elements in the .NET MAUI Linear Gauge (SfLinearGauge)?

The Syncfusion® .NET MAUI Linear Gauge (SfLinearGauge) allows you to mirror the gauge elements. The following demonstration helps you to understand how to mirror the gauge elements using the IsMirrored property.

XAML:

SfLinearGauge’s IsMirrored property mirrors all gauge components in the SfLinearGauge. The following code sample shows how to set the IsMirrored property.

<Grid VerticalOptions="Center" WidthRequest="600">
   <gauge:SfLinearGauge IsMirrored="True">
       <gauge:SfLinearGauge.Ranges>
           <gauge:LinearRange StartValue="0" EndValue="40" Fill="DarkBlue"/>
           <gauge:LinearRange StartValue="40" EndValue="100" Fill="Darkorange"/>
       </gauge:SfLinearGauge.Ranges>
       <gauge:SfLinearGauge.BarPointers>
           <gauge:BarPointer Value="50" Offset="5" 
                             Position="Outside" CornerStyle="EndCurve"/>
       </gauge:SfLinearGauge.BarPointers>
   </gauge:SfLinearGauge>
</Grid>

Output:

Actual Image

MirrorGauge_ActualImage.png

Mirror Image

MirrorGauge_MirroredImage.png

Conclusion:

I hope you enjoyed learning how to mirror the gauge elements 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!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied