O'Reilly logo

Step-by-Step Programming with Base SAS 9.4 by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing Frequency Charts

Changing the Number of Ranges

You can change the appearance of the charts in the following ways:
Table 31.2 Chart Appearance
Action
Option
Specify midpoints that define the range of values that each bar, block, or section represents
MIDPOINTS= option
Specify the number of bars on the chart and let PROC CHART compute the midpoints
LEVELS= option
Specify a variable that contains discrete numeric values. PROC CHART produces a bar chart with a bar for each distinct value
DISCRETE option
Note: Most examples in this section use vertical bar charts. However, unless documented otherwise, you can use any of the options in the PIE, BLOCK, or HBAR statements.

Specifying Midpoints for a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required