This is a migrated thread and some comments may be shown as answers.

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

1 Answer 200 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Alex H
Top achievements
Rank 1
Alex H asked on 31 Mar 2012, 07:03 PM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 02 Apr 2012, 12:11 PM
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!
Tags
Gauges
Asked by
Alex H
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or