We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use a circular gauge control as a Quarter Gauge?

This article explains you to design a Quarter Gauge using Circular Gauge.

 

Circular Gauge can be used Quarter Gauge for various scenarios and control can be customized accordingly.

 

The following screenshot displays the Quarter Gauge using circular gauge.

 

 

 

Import the SfGauge namespace as shown below,

 

Xaml

 

 

  1. How to use CircularGauge as Quarter Gauge”

 

Create a Xamarin application and initialize SfCircularGauge control in it. Set Gauge type as NorthWest using GaugeType property in order achieve Quarter Gauge.

 

Xaml

 

 

 

Range can be used to know the percentage battery life.

 

Xaml

 

 

Add Needle Pointer to show current battery life

 

Xaml

 

 

Using Major and Minor Ticks, Quarter gauge can be customized in circular gauge

Xaml

 

 

Finally, add header to indicate percentage value of battery, since header can be positioned as required.

 

Xaml

 

 

 

 

 

Output for the above code snippet-

 

 

 

Note-

SfCircularGauge type is determined by positioning the control towards particular direction. GaugeType is an enum property that provides the option to select type of the SfCircularGauge type

Please refer the following link for better understanding,

https://help.syncfusion.com/xamarin/circulargauge/gauge-type

 

Output for the above code snippet for GaugeType as NorthEast-

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7875 07/28/2017 07/28/2017 Xamarin.iOS SfCircularGauge
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon