Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Setting the Angle of Tilt or Rotation in a Scatter Control

For a Scatter control, the rotation angle is the current angle relative to the Y axis. Similarly, the tilt angle is the angle relative to the X axis.

To set a rotation angle or tilt angle, use the rotationAngle or tiltAngle attributes. For example, for a control named scatter1, the following code sets the rotationAngle attribute to 35 degrees:

scatter1.rotationAngle = 35; 

You can also use the actionMode attribute to adjust these angles interactively. Set the actionMode to Tilt to adjust the tiltAngle, or Rotate to adjust the rotationAngle (see Setting the Action Mode in a Scatter Control). To set both angles at once, set the actionMode to Spin.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.