Sign in to follow this  

Control animation of Dial in an angular guage

Recommended Posts

I am trying to control the animation of the dial in the KPH angular guage. I cannot find any examples online to support this.




I want the needle (dial) to start at zero and (rather quickly) work its way up to the value. The default animation does this, but I really do not like the dial itself being drawn. When I start my car, the needle is already at zero, it does not need to "grow" from the center.





Share this post

Link to post
Share on other sites


Could you please try setting defaultAnimation='0'


add rotation animation style to the chart?



 <style name='dialani' type='animation' param='_rotation' duration='5' start='-230'  />



 <apply styles='dialani' toObject='DIAL'/>



Please set your startAngle as per the starting position of the dial.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this