ChartUnitEffect Property

Applies To

AnimationSettings object.

Description

Returns or sets a value that indicates whether the graph range is animated by series, category, or element. Can be one of the following ChartUnitEffect values: ppAnimateByCategory, ppAnimateByCategoryElements, ppAnimateBySeries, ppAnimateBySeriesElements, or ppAnimateChartMixed. Read/write Long.

Remarks

If your graph doesn't become animated, make sure that the Animate property is set to True.

Example

This example sets shape two on slide three in the active presentation to be animated by series. Shape two must be a graph for this to work.

With ActivePresentation.Slides(3).Shapes(2)
    With .AnimationSettings
        .ChartUnitEffect = ppAnimateBySeries
        .EntryEffect = ppEffectFlyFromLeft
        .Animate = True
    End With
End With