![]() Chapter Contents |
![]() Previous |
![]() Next |
| The GCHART Procedure |
| Procedure features: |
| |||||||||||||
| Other features: | PATTERN statement | |||||||||||||
| Data set: | ENPROD | |||||||||||||
| Sample library member: | GR13N12 |
The chart statistic is suppressed and the midpoint label and the percent of the chart statistic are displayed outside of the slice.
A different color is defined for each energy type. The patterns are assigned in order of midpoint value. Some colors do not appear because the slices they represent are grouped into the OTHER slice, which is assigned the eighth color, red.
| | goptions reset=global gunit=pct border cback=white
colors=(black blue green red) ftext=swiss
ftext=swissb htitle=5 htext=3.5; |
| | title 'Changes in Energy Production:1985 to 1995'; footnote j=r 'GR13N12 '; |
| | proc gchart data=reflib.enprod gout=reflib.excat;
label year='00'x; |
| | pie engytype / sumvar=produced
group=year
across=2
other=5
otherlabel='Renewable'
clockwise
value=none
slice=outside
percent=outside
coutline=black
noheading;
run;
quit; |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.