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

Animation settings not working?

1 Answer 82 Views
Chart
This is a migrated thread and some comments may be shown as answers.
madladuk
Top achievements
Rank 2
madladuk asked on 01 Jul 2010, 03:05 PM
Hi all.

For some reason the animation settings are not being reference, the chart seems to draw itself and the usual speed. My code snip is below. dashitem is my entity that contains the settings for the chart so in my example the animationseconds is set to 30 but still draws at the same speed. The chart is bound using the ItemSource;

chart.DefaultSeriesDefinition.AnimationSettings =

 

null;

 

chart.DefaultSeriesDefinition.AnimationSettings =

 

new AnimationSettings()

 

{

TotalSeriesAnimationDuration =

 

TimeSpan.FromSeconds(Convert.ToDouble(dashitem.animationseconds)),

 

ItemDelay =

 

TimeSpan.FromSeconds(Convert.ToDouble(dashitem.animationdelay))

 

};

1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 06 Jul 2010, 05:32 PM
Hi madladuk,

Indeed, there seems to be a problem when using the animation settings API this way. Please, use the RadChart.AnimationSettings property instead.

Greetings,
Velin
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
Tags
Chart
Asked by
madladuk
Top achievements
Rank 2
Answers by
Velin
Telerik team
Share this question
or