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

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

Example 1

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

dw1.Modify("graph_1.Rotation=25")

dw1.Modify("graph_1.Rotation='1~tHour(Now())'")