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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Scale Rim Rounded Caps

Thread ID:

Created:

Updated:

Platform:

Replies:

148488 Oct 22,2019 11:36 AM UTC Oct 24,2019 09:27 AM UTC Xamarin.Forms 3
loading
Tags: SfCircularGauge
Juan Ignacio Rodríguez
Asked On October 22, 2019 11:36 AM UTC

How can I get scale rim rounded caps like in this example?



I just can find cap propertie for scales range pointers.


Rachel A [Syncfusion]
Replied On October 23, 2019 08:51 AM UTC

Hi Juan, 
 
Greetings from Syncfusion. 
 
We can achieve your requirement by using RangeCap property in range pointers without scale as in the below code snippet. 
 
[XAML] 
<gauge:SfCircularGauge  HorizontalOptions="Center" VerticalOptions="Center"> 
 
        <gauge:SfCircularGauge.Annotations> 
            <gauge:GaugeAnnotation  VerticalAlignment="Start"> 
                <gauge:GaugeAnnotation.View> 
                    <Label Text="1.2 of 44" TextColor="Black" FontSize="25"/> 
                    
                </gauge:GaugeAnnotation.View> 
            </gauge:GaugeAnnotation> 
        </gauge:SfCircularGauge.Annotations> 
 
        <gauge:SfCircularGauge.Scales> 
 
            <gauge:Scale ShowRim="False" ShowLabels="False" ShowTicks="False"> 
 
                
                <gauge:Scale.Pointers> 
                    <gauge:RangePointer RangeStart="0" EnableAnimation="False" Value="100" Color="Gray" RangeCap="Both" /> 
                    <gauge:RangePointer RangeStart="0" Value="80" Color="Blue" RangeCap="Both" /> 
                </gauge:Scale.Pointers> 
 
            </gauge:Scale> 
 
        </gauge:SfCircularGauge.Scales> 
 
    </gauge:SfCircularGauge> 
 
Output: 
 
 
 
Please let us know if you need any further assistance. 
 
Thanks, 
Rachel. 


Juan Ignacio Rodríguez
Replied On October 23, 2019 09:10 AM UTC

Thanks.

Thats the solution I'm currely using, but I thought that maybe there was another one.

Rachel A [Syncfusion]
Replied On October 24, 2019 09:27 AM UTC

Hi Juan, 
 
Thanks for the response. 
 
We are having rounded corner support in RangePointers only. So, we can use range pointers to meet your requirement. 
 
Thanks, 
Rachel. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon