Animating Series Points
- 2 minutes to read
This topic explains how to animate series points and customize their animation settings.
#Overview
Series points can be animated using either built-in or custom animation effects.
The built-in animation can also be applied to a chart's series if the given series supports this animation.
To obtain the list of all animations that are available for a given series, use the Series.GetPredefinedSeriesAnimationKinds and Series.GetPredefinedPointAnimationKinds methods.
#Customization
To enable the built-in animation, set the ChartControl.EnableAnimation property to true.
To specify custom animation for series points, assign an animation effect to the PointAnimation property of the series (e.g., AreaSeries2D.PointAnimation).
The image below shows the SlideFromTop animation effect for the Side-by-Side Stacked Bar chart.
Example
The following tutorials show how to animate a chart's series points.
- How to: Animate Series Points Using the Built-in Animation Effect
- How to: Animate a Chart Series and Its Points
The table below lists properties that can be used to customize the animation effect for series points.
Member | Description |
---|---|
Series |
Specifies the delay sustained when animating the series points. This is a dependency property. |
Series |
Defines the order in which series points are animated. This is a dependency property. |
Animation |
Specifies the time when the animation is started. This is a dependency property. |
Animation |
Specifies the duration of the animation. This is a dependency property. |
Animation |
Specifies the easing function for the animation. This is a dependency property. |