Determines whether a chart is animated or not.

boolean object->IsAnimated( ) 

Arguments

object
Required. A Chart object.

Return Value

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

PHP Sample Code

The following PHP 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() )
  $chart->AnimateChart(false);

$chart->ExportAsResponse();

See Also

AnimateChart Method

Applies To: Chart Object