Chapter Contents

Previous

Next
The CHART Procedure

BLOCK Statement


Produces a block chart.

Featured in: Producing Block Charts for BY Groups


BLOCK variable(s) </ option(s)>;


Required Arguments

variable(s)
specifies the variables for which PROC CHART produces a block chart, one chart for each variable.


Options
The options available on the BLOCK, HBAR, PIE, STAR, and VBAR statements are documented in Customizing All Types of Charts .


Statement Results
Because each block chart must fit on one output page, you may have to adjust the SAS system options LINESIZE= and PAGESIZE= if you have a large number of charted values for the BLOCK variable and for the variable specified in the GROUP= option.

Maximum Number of Bars of BLOCK Variables shows the maximum number of charted values of BLOCK variables for selected LINESIZE= (LS=) specifications that can fit on a 66-line page.

Maximum Number of Bars of BLOCK Variables
GROUP= Value LS= 132 LS= 120 LS= 105 LS= 90 LS= 76 LS= 64
0,1 9 8 7 6 5 4
2 8 8 7 6 5 4
3 8 7 6 5 4 3
4 7 7 6 5 4 3
5,6 7 6 5 4 3 2

If the value of any GROUP= level is longer than three characters, the maximum number of charted values for the BLOCK variable that can fit may be reduced by one. BLOCK level values truncate to 12 characters. If you exceed these limits, PROC CHART produces a horizontal bar chart instead.


Chapter Contents

Previous

Next

Top of Page

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