Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Specifying Variables for a Histogram Control

A Histogram control can analyze from one to three independent variables. The number of variables must correspond to the data dimensions. If the number of variables specified exceeds the number of data dimensions, the excess variables are ignored. For information on setting the data dimensions, see Specifying Data Dimensions and Viewing Mode for a Histogram Control.

To specify the variables, use the attributes XVariable, YVariable, and ZVariable. The Histogram control supports long variable names, and mixed-case variable names.

To analyze Use attributes dataDimensions must be
One variable XVariable 1D
Two variables XVariable and ZVariable 2D
Three variables XVariable, YVariable, and ZVariable 3D

For a Histogram control named histogram1, the following code specifies variable Revenue as the value for the XVariable attribute:

histogram1.dataDimensions = '1d';
histogram1.XVariable = 'revenue'; 


Chapter Contents

Previous

Next

Top of Page

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