Determines whether a chart is looping or not.

boolean object->IsLooping( ) 

Arguments

object
Required. A Chart object.

Return Value

If the chart object is looping, 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 looping if it is enabled.

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

// Disable looping if the chart is looping 
if( $chart->IsLooping() )
  $chart->SetLooping(false);

$chart->ExportAsResponse();

See Also

SetLooping Method

Applies To: Chart Object