Xuni User Guide > Xuni Controls > FlexChart > Features > Animation |
Enhance the appeal of the FlexChart by adding animation effects.
The IsAnimated
property lets you enable or disable the animation for the control. Whereas the LoadAnimation
and UpdateAnimation
properties allow you to select the easing, duration and other attributes of the animation.
The following code example demonstrates how to set these properties in C#. The example uses the sample created in the Quick Start section.
C# |
Copy Code |
---|---|
chart.IsAnimated = true;
chart.LoadAnimation.Easing = Easing.CubicIn;
chart.LoadAnimation.Duration = 2000; |