CHART Procedure

Results: CHART Procedure

Missing Values

PROC CHART follows these rules when handling missing values:
  • Missing values are not considered as valid levels for the chart variable when you use the MISSING option.
  • Missing values for a GROUP= or SUBGROUP= variable are treated as valid levels.
  • PROC CHART ignores missing values for the FREQ= option and the SUMVAR= option.
  • If the value of the FREQ= variable is missing, zero, or negative, then the observation is excluded from the calculation of the chart statistic.
  • If the value of the SUMVAR= variable is missing, then the observation is excluded from the calculation of the chart statistic.

ODS Table Names

The CHART procedure assigns a name to each table that it creates. You can use these names to reference the table when using the Output Delivery System (ODS) to select tables and create output data sets. For more information, see SAS Output Delivery System: User's Guide.
ODS Tables Produced by the CHART Procedure
Name
Description
Statement Used
BLOCK
A block chart
BLOCK
HBAR
A horizontal bar chart
HBAR
PIE
A pie chart
PIE
STAR
A star chart
STAR
VBAR
A vertical bar chart
VBAR

Portability of ODS Output with PROC CHART

Under certain circumstances, using PROC CHART with the Output Delivery System produces files that are not portable. If the SAS system option FORMCHAR= in your SAS session uses nonstandard line-drawing characters, then the output might include strange characters instead of lines in operating environments in which the SAS Monospace font is not installed. To avoid this problem, specify the following OPTIONS statement before executing PROC CHART:
options formchar="|----|+|---+=|-/\<>*";