Skip to main content

LineSeriesViewBase.SeriesAnimation Property

Specifies the animation applied to the line.

Namespace: DevExpress.WinUI.Charts

Assembly: DevExpress.WinUI.Charts.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(null, Handler = "SeriesAnimationPropertyChanged")]
public LineAnimationBase SeriesAnimation { get; set; }

Property Value

Type Description
DevExpress.WinUI.Charts.LineAnimationBase

A line animation.

Remarks

The following example animates a line series and point markers:

series and point animation

<Charts:Series>
    <Charts:Series.View>
        <Charts:LineSeriesView x:Name="view" ShowMarkers="True">
            <Charts:LineSeriesView.SeriesAnimation>
                <Charts:LineSlideFromLeftAnimation BeginTime="00:00:00" 
                                                   Duration="00:00:03" 
                                                   Enable="True">
                    <Charts:LineSlideFromLeftAnimation.EasingFunction>
                        <ExponentialEase EasingMode="EaseIn"/>
                    </Charts:LineSlideFromLeftAnimation.EasingFunction>
                </Charts:LineSlideFromLeftAnimation>
            </Charts:LineSeriesView.SeriesAnimation>
            <Charts:LineSeriesView.PointAnimation>
                <Charts:MarkerSlideFromRightAnimation BeginTime="00:00:02" 
                                                      Duration="00:00:02" 
                                                      PointOrder="Straight" 
                                                      PointDelay="00:00:00.5">
                    <Charts:MarkerSlideFromRightAnimation.EasingFunction>
                        <BounceEase/>
                    </Charts:MarkerSlideFromRightAnimation.EasingFunction>
                </Charts:MarkerSlideFromRightAnimation>
            </Charts:LineSeriesView.PointAnimation>
        </Charts:LineSeriesView>
    </Charts:Series.View>
    <!-...-->
</Charts:Series>
See Also