Chapter Contents |
Previous |
Next |
SAS/AF Software: Class Dictionary |
For a Pie control, the rotation angle is the current angle relative to the 0 degree radial. The tilt angle is the angle relative to the chart's horizontal diameter.
To set a rotation angle or tilt angle, use the rotationAngle or tiltAngle attributes. For example, for a control named pie1, the following code sets the rotationAngle attribute to 35 degrees:
pie1.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 Pie 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.