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.

JScript Sample Code

The following JScript 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.SetSeparators(";", true);
chart.SetDataFromQuery();
chart.LoadStyle("C:\\myStyle.scs");

// If the chart is animated, make it static 
if( chart.IsAnimated() )
  chart.AnimateChart(false);

chart.ExportAsResponse();

See Also

AnimateChart Method

Applies To: Chart Object