The distance from the front of the window at which the graph appears.
Graph controls
PowerBuilder dot notation:
dw_control.Object.graphname.Perspective
Describe and Modify argument:
"graphname.Perspective { = ' integer ' }"
Parameter |
Description |
---|---|
graphname |
The name of the graph control in the DataWindow object for which you want to get or set the perspective. |
integer |
(exp) An integer between 1 and 100 specifying how far away the graph appears. The larger the number, the greater the distance and the smaller the graph appears. Integer can be a quoted DataWindow expression. |
Select the control and set the value in the Properties view, General tab, Perspective scroll bar (available when a 3D graph type is selected).
string setting
setting = dw1.Object.graph_1.Perspective
dw1.Object.graph_1.Perspective = 20
setting = dw1.Describe("graph_1.Perspective")
dw1.Modify("graph_1.Perspective=20")