| Creating Bar and Pie Charts |
| Specifying
Statistics |
| Additional TYPE= Examples
The GCHART procedure below uses the TYPE= option to specify the statistic
PERCENT. The bars now display the percent of
proc gchart data=clinic.insure;
vbar company / type=percent;
run;
|
This GCHART procedure specifies
TYPE=CPERCENT to display the cumulative percent of
Company. The label on the vertical axis is now CUMULATIVE
PERCENT.
proc gchart data=clinic.insure;
vbar company / type=cpercent;
run;
|
![]() ![]() |
|
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.