core

### Graph Object

The Graph object inserts a graph into your form, custom report, or label template with the ability to dynamically update its data. This object is not available in the Report Template Editor.

The Graph object allows you to store and then display an array of data points. You can use X and Y values to specify the points of data on the graph.

Default Graph object

Along with the ability to resize the object, change colors, and change other attributes, you can cause graph objects to update their data dynamically by using these properties in conjunction with PC-DMIS commands or Visual BASIC code:

ClearAllPoint
If set to 1, all data points are cleared from the graph the next time your form enters run mode.

If set to 0, all data points remain in the graph.

Clockwise
Setting this to NO reverses the Y axis, making the top negative and the bottom positive.

ConnectPoints
Setting this to YES draws lines between the data points on the graph, visually connecting them together.

DataPointColor
This changes the colors used on the X, Y data points and on any lines drawn between points.

EnablePoint
If set to 1, your graph accepts the addition of new data points.

If set to 0, your graph rejects the addition of new data points.

LineWidth
This changes the diameter (in pixels) of the data point.

XDivisions
This divides the X axis of the graph, which essentially adds the specified number of columns.

XMaxEq
This is the X-axis maximum equation. The value used determines the ending value making up the X axis.

You can use a simple equation, or evaluate the data from a VBScript.

XMinEq
This is the X-axis minimum equation. The value used determines the beginning value making up the X axis.

You can use a simple equation, or evaluate the data from a VBScript.

XPointEq
This is the X value for your data point on the graph. You can use a simple equation, or evaluate the data from a VBScript.

YDivisions
This divides the Y axis of the graph, which essentially adds the specified number of rows.

YMaxEq
This is the Y-axis maximum equation. The value used determines the ending value making up the Y axis.

You can use a simple equation, or evaluate the data from a VBScript.

YMinEq
This is the Y-axis minimum equation. The value used determines the beginning value making up the Y axis.

You can use a simple equation, or evaluate the data from a VBScript.

YPointEq
This is the Y value for your data point on the graph. You can use a simple equation, or evaluate the data from a VBScript.

You can re-scale the Y axis by clicking on the up and down arrows near the graph's origin. These scaling arrows are only visible in the legacy Hyper View report editor and in the Forms editor.

More:

Example of Using PARAM to Display Data on the Graph

Example of Using BASIC Scripting to Dynamically Display Data on the Graph