GraphType DataWindow object property
Description
The type of graph, such as bar, pie, column, and so on.
Controls
Graph controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>graphname</span>.GraphType |
Describe and Modify argument:
1 |
"<span>graphname</span>.GraphType { = '<span> typeinteger </span>' }" |
Parameter |
Description |
|
---|---|---|
graphname |
The graph control for which |
|
typeinteger |
(exp) Values are: |
|
|
|
|
For graphs |
||
|
|
Usage
In the painter
Select the control and set the value in the Properties view, General
tab.
Examples
1 |
string setting |
1 |
setting = dw1.Object.graph_1.GraphType |
1 |
dw1.Object.graph_1.GraphType = 17 |
1 |
setting = dw1.Describe("graph_1.GraphType") |
1 |
dw1.Modify("graph_1.GraphType=17") |