Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
temporarily suspending series animations
posted

I am using xamchart v10.1.

I have several series created with animations and would like to know a good way to suspend the animations when the user is say, typing a new chart title.

My textbox has a textchanged event that updates the caption text. User preferred to have the textchanged event fire to show the text as it is typed on the chart, but the animations fire when the caption text changes.

They still want the caption to change whenever they type in the textbox. also, when altering the legend position or other properties like the margin, etc, the event also causes the series animation event to fire.

Is there a preferred way to keep the series animations from firing and reenabling them in code? I could save each series animation and set the series animation to nothing, and set them back, but is this the best way?

 

Thanks.

 

  • 30692
    Suggested Answer
    Offline posted

    I don't think there would be a straightforward way of achieving this short of clearing the animation related properties while the user is making changes to the chart as you described. Alternatively you could try setting the Durations of all the animations to 0 with a binding while the changes are being enacted. If you desire a more straightforward way of accomplishing this, you could make a feature request.

    Hope this helps!

    -Graham