Graph object
A graph is a representation of a series of data points
(values). The graph can have a single series of values or multiple
series.
Properties
Graph property |
Datatype |
Description |
---|---|---|
String |
A description of the control and/or |
|
String |
A label that briefly describes the control, |
|
AccessibleRole (enumerated) |
Describes what kind of user interface |
|
Long |
Specifies the numeric value of the background |
|
Boolean |
Specifies whether the control has a border. |
|
BorderStyle (enumerated) |
Specifies the style of the border of
|
|
Boolean |
Specifies whether PowerBuilder moves |
|
grAxis |
Specifies the properties of the category |
|
grSortType |
Specifies how the categories are sorted. |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
Integer |
Specifies the percent the depth is of |
|
Boolean |
Specifies whether PowerBuilder puts the
|
|
String |
Specifies the name of the stock icon When the user drags a control, the icon displays when the |
|
Integer |
Specifies the angle of front-to-back |
|
Boolean |
Specifies whether the control is enabled
|
|
Boolean |
Specifies whether a dotted rectangle
|
|
grGraphType (enumerated) |
Specifies the type of the graph. Values
|
|
Integer |
Specifies the height of the control, |
|
grLegendType (enumerated) |
Specifies the alignment of the text in
|
|
LegendDispAttr |
grDispAttr |
Specifies the type style for the text |
Integer |
Specifies the percent of the width of |
|
Integer |
Specifies the distance the graph is from |
|
PieDispAttr |
grDispAttr |
Specifies properties of the text in pie |
String |
Contains the name of the stock pointer |
|
Boolean |
Indicates whether the 3D graph is rendered |
|
Integer |
Specifies how much to rotate the graph |
|
grAxis |
Specifies the series in the graph. |
|
grSortType |
Specifies how the series are sorted. |
|
ShadeColor |
Long |
Specifies the color used for the shading |
Integer |
Specifies the space between data markers |
|
Integer |
Specifies the tab value of the control |
|
String |
Specifies the tag value of the control. |
|
Long |
Specifies the color to be used for the |
|
String |
Specifies the text of the title for the |
|
TitleDispAttr |
grDispAttr |
Specifies the type style for the text |
Values |
grAxis |
Specifies the values of the value axis |
Boolean |
Specifies whether the control is visible.
|
|
Integer |
Specifies the stroke weight of text in |
|
Integer |
Specifies the X position (the distance |
|
Y |
Integer |
Specifies the Y position (the distance |
Events
Graph event |
Occurs |
---|---|
When the control is clicked (selected |
|
Immediately before the Open event occurs |
|
Immediately after the Close event occurs |
|
When the control is double-clicked (selected |
|
When a dragged control is dropped on |
|
When a dragged control enters the control |
|
When dragged control leaves the control |
|
When a dragged control is within the |
|
Just before the control receives focus |
|
When the user presses the F1 key or drags |
|
When the control loses focus (becomes |
|
When a Windows message occurs that is |
|
When the right mouse button is pressed |
Functions
Graph function |
Datatype returned |
Description |
---|---|---|
Integer |
Adds a category to the graph. |
|
Long |
Adds a value to the end of the specified |
|
Integer |
Adds a series to the graph and assigns |
|
Integer |
Counts the categories in the graph. |
|
String |
Obtains the name of the specified category |
|
String |
Returns the name assigned to the control. |
|
Integer |
Copies the graph in bitmap (BMP) format |
|
Long |
Returns the number of data points in |
|
Integer |
Deletes the specified category and the |
|
Integer |
Deletes the data value in the specified |
|
Integer |
Deletes the specified series and the |
|
Integer |
Starts or ends dragging of the control. |
|
Integer |
Obtains the number of the specified category |
|
Integer |
Obtains the number PowerBuilder assigned |
|
Integer |
Creates a reference to a context-specific |
|
Double |
Obtains the value of the specified data |
|
Integer |
Determines whether the data at a given |
|
Integer |
Reports the percentage by which a pie |
|
Integer |
Finds out the appearance of a data point There are different syntaxes, depending on what settings you want |
|
Integer |
Obtains the transparency percentage of |
|
Integer |
Returns the value of the specified data |
|
PowerObject |
Returns a reference to the name of the |
|
Integer |
Obtain the series labelling for a DirectX |
|
Integer |
Finds out the appearance of a series There are several syntaxes, depending on what you want to |
|
Integer |
Obtains the tranparency percentage of |
|
Integer |
Makes the control invisible. |
|
Long |
Copies the contents of the clipboard |
|
Long |
Copies the contents of the specified |
|
Long |
Imports the contents from the specified |
|
Integer |
Inserts a new category before an existing |
|
Long |
Inserts a new data point into the graph |
|
Integer |
Inserts a new series before an existing |
|
Integer |
Changes the value of the specified data |
|
Integer |
Moves the control to a specified location. |
|
GrObject |
Stores the number of the series the pointer |
|
Integer |
Returns the distance of the pointer from |
|
Integer |
Returns the distance of the pointer from |
|
Boolean |
Adds an event to the end of the message |
|
Integer |
Prints the control. |
|
Integer |
Deletes data in the graph as specified. |
|
Integer |
Resets the color of a data point to the |
|
Integer |
Changes the size of the control. |
|
Integer |
Saves the contents of the graph to a |
|
Integer |
Determines how many series there are |
|
String |
Obtains the name of the specified series |
|
Integer |
Explodes a pie slice in a pie graph. |
|
Integer |
Set the data label for a DirectX 3D graph. |
|
Integer |
Specifies the appearance of a data point There are several syntaxes, depending on what you want to |
|
Integer |
Sets the tranparency percentage of a |
|
Integer |
Sets focus to the control. |
|
Integer |
Specifies the position of the control |
|
Integer |
Controls automatic redrawing of the control |
|
Integer |
Set the series label for a DirectX 3D |
|
Integer |
Specifies the appearance of a series There are several syntaxes, depending on what you want to change: |
|
Integer |
Sets the tranparency percentage of a |
|
Integer |
Makes the control visible. |
|
Integer |
Triggers a specified event in the control |
|
Object |
Returns the type of the control. |