WinStudio
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. For more information, see Adding Charts or Gauges to a Form.
IWSFormComponent interface, graph objects
Specifies the IDO collection to use for the graph.
object.GraphSetCollectionToGraph( collectionType )
Part |
Description |
| object | Required. A reference to a valid graph component object. |
| collectionType | Required. See the "Settings" section. |
The collectionType is of the class Mongoose.Scripting.wsGraphIDOCollection. Collection types 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 |
ThisForm.Components("graph1").GraphSetCollectionToGraph( _
wsGraphIDOCollection.ActiveFormCurrentIDOCollection)
ThisForm.Components("graph1").GraphDraw()