Animation settings not working?

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

    Posted 01 Jul 2010 Link to this post

    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))

     

    };

  2. Velin
    Admin
    Velin avatar
    391 posts

    Posted 06 Jul 2010 Link to this post

    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
  3. DevCraft banner
Back to Top