GraphType
property (DataWindow object)
Description
The type of graph, such as bar, pie, column, and so on.
Applies to
Graph controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.graphname.GraphType |
Describe and Modify argument:
|
1 |
"graphname.GraphType { = ' typeinteger ' }" |
|
Parameter |
Description |
|
|---|---|---|
|
graphname |
The graph control for |
|
|
typeinteger |
(exp) An integer Values are: |
|
|
|
1 — Area 2 — Bar 3 — 4 — Bar3DObj 5 — 6 — BarStacked3DObj 7 — 8 — Col3D 9 — |
10 — ColStacked 11 — 12 — Line 13 — 14 — Scatter 15 — 16 — Line3D 17 — |
Usage
In the painter
Select the control and set the value in the Properties view,
General tab.
Examples
|
1 2 3 4 5 |
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") |