Specifies whether the generated chart should be static or animated. Static charts are faster to generate than animated ones.

void object->AnimateChart( boolean animate ) 

Arguments

object
Required. A Chart object.
animate
Required. A boolean value that specifies whether the chart is animated or not.

Remarks

Default: a chart is always animated.

PHP Sample Code

The following PHP code illustrates use of the AnimateChart method.

$chart->SetDataFromQuery();
$chart->LoadStyle("C:\\myStyle.scs");

// Let's display a static chart 
$chart->AnimateChart(false);
$chart->ExportAsResponse();

See Also

IsAnimated Method

Applies To: Chart Object