Xuni User Guide > Xuni Controls > FlexPie > Features > Animation |
The IsAnimated
property lets you enhance FlexPie's appeal by adding animation effects to the pie slices, whereas the LoadAnimation
property allows you to select the easing, duration and other attributes of the animation.
The following code example demonstrates how to set this property in C#. The example uses the sample created in the Quick Start section.
C# |
Copy Code |
---|---|
chart.IsAnimated = true;
chart.LoadAnimation.Easing = Xamarin.Forms.Easing.CubicInOut;
chart.LoadAnimation.Duration = 2000; |