GraphSetXLimit 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
Sets the number of data points (number of IDO collection rows) on the X-axis.
Syntax
object.GraphSetXLimit( integer )
Part | Description |
object | Required. A reference to a valid graph component object. |
integer | Required. The number of data points to be represented and displayed at one time. |
Example
ThisForm.Components("graph1").GraphSetXLimit(8)
ThisForm.Components("graph1").GraphDraw()