The type of graph, such as bar, pie, column, and so on.
Graph controls
PowerBuilder dot notation:
dw_control.Object.graphname.GraphType
Describe and Modify argument:
"graphname.GraphType { = ' typeinteger ' }"
Parameter |
Description |
|
---|---|---|
graphname |
The graph control for which you want to get or change the type. |
|
typeinteger |
(exp) An integer identifying the type of graph in the DataWindow object. Typeinteger can be a quoted DataWindow expression. Values are: |
|
|
|
|
For graphs in PowerBuilder .NET only, values are: |
||
|
|
Select the control and set the value in the Properties view, General tab.
string setting
setting = dw1.Object.graph_1.GraphType
dw1.Object.graph_1.GraphType = 17
setting = dw1.Describe("graph_1.GraphType")
dw1.Modify("graph_1.GraphType=17")