Determines whether a chart is animated or not.

object.IsAnimated 

Arguments

object
Required. A Chart object.

Return Value

If the chart object is animated, this method returns true; otherwise, it returns false.

VBScript Sample Code

The following VBScript example sets the data and loads the graphics settings of a given chart object. Then it disables the chart animation if it is enabled.

chart.SetDataFromQuery
chart.LoadStyle "C:\myStyle.scs"

'If the chart is animated, make it static 
If chart.IsAnimated Then
  chart.AnimateChart false
End If

chart.ExportAsResponse

See Also

AnimateChart Method

Applies To: Chart Object