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

Problem with Animation and Binding

3 Answers 152 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Kevin Hendriks
Top achievements
Rank 1
Kevin Hendriks asked on 26 Jan 2011, 10:55 AM
I have implemented the radial gauge and With Databinding I set the max value of the gauge and the value of the needle.
But the controls don't animate from ther orrigen to there new position they just jump.
I have set IsAnimated to true on the needle.

3 Answers, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 28 Jan 2011, 04:22 PM
Hi Kevin Hendriks,

It is very complicated and it is hard to reproduce the problem without your code. One cause of this problem is in the following: the indicator animation requires specifying the Name property.
So, when you do not specify a name of the needle then the animation will not work.
You should specify it like to the following sample code:
<telerik:RadGauge>
    <telerik:RadialGauge>
        <telerik:RadialScale>
            <telerik:IndicatorList>
                <telerik:Needle x:Name="needle"
                                IsAnimated="True"
                                Value="{Binding Value}"/>
            </telerik:IndicatorList>
        </telerik:RadialScale>
    </telerik:RadialGauge>
</telerik:RadGauge>

Kind regards,
Andrey Murzov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
nCubed
Top achievements
Rank 1
answered on 01 Dec 2011, 12:07 AM
This should be documented, re: the Radial Scale Indicator must be named for the animation to work. We're evaluating the Gauge controls right now and just spent an hour trying to figure out why the animation was not working.

Other than that minor hiccup, the Gauges have been quite easy to get up and running.
0
Andrey
Telerik team
answered on 05 Dec 2011, 03:10 PM
Hello Ncubed,

Thank you for the feedback.
We have logged a task in our Public Issue Tracking System to implement the animation feature which will not require specifying the name of indicator. This task is scheduled for  2011 Q3 Service Pack 1 release, expected later this month. You can track implementation of it using the following link:
http://www.telerik.com/support/pits.aspx#/public/silverlight/8688

Regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Gauges
Asked by
Kevin Hendriks
Top achievements
Rank 1
Answers by
Andrey
Telerik team
nCubed
Top achievements
Rank 1
Share this question
or