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.

JSP Sample Code

The following JSP 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.SetDataFromTxtFile("C:\\myData.txt");
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