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