Click here to see the SAS code.
Click here to see the example.

---------------------------------------------------------------

Sometimes a bar chart doesn't provide enough info.
In such cases, you might consider annotating some 
custom info beside the bar chart.


data my_anno; set PGA2007;
length text $50 style $30;
function='label'; style=''; hsys='3'; when='a';
ysys='2'; midpoint=Player;
/* annotate totals at end of bars */
xsys='2'; position='6';
text='  '||trim(left(put(Earnings,dollar12.)));
output;
/* annotate the values for the table to the left of the bar chart */
xsys='3'; position='5';
x=5; text=trim(left(Age)); output;
x=12; text=trim(left(Events)); output;
x=19; text=trim(left(Wins)); output;
run;



Back to Samples Index