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.
Unfortunately, activation email could not send to your email. Please try again.

Needle animation?

Thread ID:

Created:

Updated:

Platform:

Replies:

123966 May 3,2016 03:26 PM May 5,2016 06:22 AM Xamarin.Forms 4
loading
Tags: SfCircularGauge
Steve Ingels
Asked On May 3, 2016 03:26 PM

Is there a way to have the needle start at the "start value" and progress to the actual value? If not, can I bind a value that essentially does that in the code behind that can achieve the same effect?


Any help on this would be great.


Thanks,

Swathi Gopal [Syncfusion]
Replied On May 4, 2016 09:06 AM

Hi Steve Ingels, 
 
Thanks for your interest in Syncfusion products. 
 
Yes we are able to dynamically update the pointer value of Gauge, also it can be achieved by Bind the pointer value, but we already we have logged an issue report for an issue with “Needle pointer animation not working in Circular Gauge Xamarin.Forms (Android)”. Could you please confirm the issue by specifying the platform (Android/ iOS) in which you are facing the issue, so that we could provide a patch for this issue. 
 
Regards, 
Swathi G 


Steve Ingels
Replied On May 4, 2016 09:10 AM

I'm testing this on iOS (9.3.1) 

So it SHOULD auto animate to the set value?

Here's my XAML pointer code.

<gauge:Scale.Pointers>
    <gauge:NeedlePointer 
        Value="400" 
        LengthFactor=".6"
        Color="#696969" 
        Thickness="3"
        KnobColor="#828282" 
        KnobRadius="10"  
        EnableAnimation="true"/>
</gauge:Scale.Pointers>
  

Steve Ingels
Replied On May 4, 2016 03:52 PM

I'm also not seeing animation from the RangePointer (I'm assuming it affects all your pointers currently).


Steve

Swathi Gopal [Syncfusion]
Replied On May 5, 2016 06:22 AM

Hi Steve, 
  
Animation are auto enabled in CircularGauge control, so that while change the Pointer value from one value to another it will move to mentioned value smoothly (without sudden change in the UI). Animation is applicable for both Needle pointer as well as Range Pointer.  When pointer is initialised with some value (for example: Value = 50), then the pointer will not animated to that value from start value of the scale. We have prepared a simple sample for this in the below location. 
  
Sample Link: View_Testing               
  
Please let us know, if you need any further assistance on this. 
  
Regards, 
Swathi G 
  


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.

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.

;