Skip to main content

Animating Series Points

  • 2 minutes to read
In This Article

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.

SideBySideStackedBarsSlideFromTopAnimation

Example

The following tutorials show how to animate a chart's series points.

The table below lists properties that can be used to customize the animation effect for series points.

Member Description
SeriesPointAnimationBase.PointDelay Specifies the delay sustained when animating the series points. This is a dependency property.
SeriesPointAnimationBase.PointOrder Defines the order in which series points are animated. This is a dependency property.
AnimationBase.BeginTime Specifies the time when the animation is started. This is a dependency property.
AnimationBase.Duration Specifies the duration of the animation. This is a dependency property.
AnimationBase.EasingFunction Specifies the easing function for the animation. This is a dependency property.
See Also