Perspective

Description

The distance from the front of the window at which the graph appears.

Applies to

Graph controls

Syntax

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.

Usage


In the painter

Select the control and set the value in the Properties view, General tab, Perspective scroll bar (available when a 3D graph type is selected).

Examples

Example 1

string setting

setting = dw1.Object.graph_1.Perspective

Example 2

dw1.Object.graph_1.Perspective = 20

Example 3

setting = dw1.Describe("graph_1.Perspective")

Example 4

dw1.Modify("graph_1.Perspective=20")