Animating the needle to the marker values

2 posts, 0 answers
  1. madladuk
    madladuk avatar
    126 posts
    Member since:
    Dec 2009

    Posted 13 Jul 2010 Link to this post

    Hi. I have a user control that draws a single or multiple gauges. I want to be able to get the need to animate each of the markers and the needle value. As I dont know how many guages may be drawn then how would I store what needle value or marker is current. Thus value is 50, marker at 10 and a marker at 90, therefore the needle needs to animate to 10, pause, animate to 50, pause and then animate to the last marker of 90, then goes back and do the same again.

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 14 Jul 2010 Link to this post


    I have attached a sample solution that animates the needle between markers.

    Kind regards,
    Andrey Murzov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top