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

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

Sometimes a simple graph doesn't provide much insight.
Adding labels at important points along the graph can help.
(I get a little fancy here, to fit multiple labels at same point.)


data my_anno; set releases;
length function $8 style $35 text $50;
xsys='2'; ysys='2'; hsys='3'; when='a';
x=date;

y=adj_close;
if y=. then y=&close;
function='label'; color='cxEE2C2C'; position='5';
size=3; style='wingdings'; text='a2'x;
y=y+5.0;
output;

y=y-5.0;
function='label';
size=1.1;
position='';
style='albany amt/bold';
text='a0a0a0a0a0a0'x||trim(left(product))||'  ';
if (count eq 1) then position='c';
else if (count eq 2) then position='f';
else if (count eq 3) then position='a';
else position='d';
angle=90;
size=2.5;
output;

run;



Back to Samples Index