Rotation

Description

The degree of left-to-right rotation for the graph control within the DataWindow when the graph has a 3D type.

Applies to

Graph controls

Syntax

PowerBuilder dot notation:

dw_control.Object.graphname.Rotation

Describe and Modify argument:

"graphname.Rotation = { 'integer ' }"

Parameter

Description

graphname

The name of the Graph control for which you want to get or set the rotation.

integer

(exp) The degree of rotation for the graph. Effective values range from -90 to 90. Integer can be a quoted DataWindow expression.


Usage

In the painter

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

Examples

string setting
setting = dw1.Object.graph_1.Rotation
dw1.Object.graph_1.Rotation=25
setting = dw1.Describe("graph_1.Rotation")
dw1.Modify("graph_1.Rotation=25")
dw1.Modify("graph_1.Rotation='1~tHour(Now())'")