How can I change the transitions duration for the Radial Gauge widget?

2 posts, 1 answers
  1. Alex H
    Alex H avatar
    1 posts
    Member since:
    May 2010

    Posted 31 Mar 2012 Link to this post

    Hi,
    is it possible for me to change the transition duration for the Radial Gauge widget?
    At the moment it looks for me that the default duration is hard coded to 1 sec...

    Regards
    Alex
  2. Answer
    Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 02 Apr 2012 Link to this post

    Hello Alex,

    Indeed, there is a bug with the initial animation and it always plays for 900ms. We have resolved the problem, and the fix will be available in the next internal build (and the official service pack).

    A work-around is to use the animation.duration configuration option, like this:

    $("#gauge").kendoRadialGauge({
        pointer: {
            value: 10,
            animation: {
                duration: 10 // milliseconds that the animation will take to play
            }
        }
    });


    The (undocumented) animation.duration is about to be replaced by animation.speed -- this is why it wasn't documented in the first place and is unsupported.

    Your Telerik points have been updated for the bug report.

    All the best,
    Alex Gyoshev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top