Chapter Contents |
Previous |
Next |
SAS/AF Software: Class Dictionary |
To set the number of slices that are displayed in a Pie control, use the numberOfSlices attribute. For example, for a Pie control named pie1, the following code limits the pie chart to four slices:
pie1.numberOfSlices = 4;
By default, the pie chart uses the values of the size variable to determine which values from the data are displayed. In this case, the three largest values for the size variable are represented as pie slices, and the fourth pie slice represents all other values for the size variable.
To control which variable's values determine the pie slices, use the groupingVariable attribute. Valid values are Slice, Size, Height, and Color.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.