GraphSetCollectionToGraph method (WinStudio scripts)
Note:  This topic applies to the graphing tool, which is supported for
		backward compatibility.  We recommend that, if you want to add charts or gauges
		to a form, use the newer FusionCharts tool instead. See 
		About charts and gauges. 
	 
      Applies To
IWSFormComponent interface, graph objects
Definition
Specifies the IDO collection to use for the graph.
Syntax
object.GraphSetCollectionToGraph( collectionType )
| Part | Description | 
| object | Required. A reference to a valid graph component object. | 
| collectionType | Required. See the "Settings" section. | 
Settings
The collectionType is of the class Mongoose.Scripting.wsGraphIDOCollection. These collection types are available:
| Setting | Description | 
| wsGraphIDOCollection.ActiveFormCurrentIDOCollection | Current IDO collection of the current form | 
| wsGraphIDOCollection.LinkedParentFormCurrentIDOCollection | Current IDO collection of the linked parent form | 
| wsGraphIDOCollection.ModalParentFormCurrentIDOCollection | Current IDO collection of the modal parent form | 
Example
ThisForm.Components("graph1").GraphSetCollectionToGraph( _
   wsGraphIDOCollection.ActiveFormCurrentIDOCollection)
ThisForm.Components("graph1").GraphDraw()