Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Specifying a Viewing Mode for a Pie Control

You can display pie charts in two- or three-dimensional viewing modes. To set the viewing mode, set the viewMode attribute to either 2D or 3D (the default).

Note:   The viewMode 3DPerspective is the same as 3D. 3DPerspective is available so that the syntax for the Pie control is compatible with the syntax for the Chart, Histogram, and Scatter controls.  [cautionend]

If you set viewMode to 2D, you cannot use the heightVariable attribute for a response variable. The height variable is ignored if you assign one when viewMode is 2D.

For a Pie control named pie1, the following code sets the viewing mode to 2D:

pie1.viewMode = '2d';


Chapter Contents

Previous

Next

Top of Page

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