Determines whether a chart is looping or not.

object.IsLooping 

Arguments

object
Required. A Chart object.

Return Value

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

VBScript Sample Code

The following VBScript 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 Then
  chart.SetLooping false
End If

chart.ExportAsResponse

See Also

SetLooping Method

Applies To: Chart Object