Hello Bruno,
Thank you for trying to help me, I checked the Web Site link. Actually, I'm little bir confused in Data Anno part. I wrote the datas in my enivorenment but I couldn't exactly get it. Can anybody help me for the following codes ?
Data Ranks;
Length RateRank 8 SchDist $ 20 VarCount 8 VarRate 8;
Infile Datalines Missover;
Input RateRank SchDist VarCount VarRate;
Datalines;
1 Auburn 523 720
2 Seattle 3425 560
3 Higline 662 543
4 SouthCentral 90 539
5 Kent 785 524
6 Renton 429 407
7 Shoreline 225 334
8 FederalWay 424 338
9 Tahoma 69 198
10 SnoqualmieValley 61 183
;
Run;
PROC REPORT data=Ranks nowd;
Columns RateRank SchDist
("Selected Measure" VarCount VarRate);
Define RateRank / "Rank" group style=[background=ColorList. foreground=TextColor.];
Define SchDist / "School District";
Define VarCount / "Count";
Define VarRate / "Rate";
RUN;
Proc Format;
Value ColorList
1-3="cxff0000"
4-6="cxff9999"
7-10="cxffeeb8"
11-13="cx9999ff"
14-16="cx0000ff"
17-19="white";
Value TextColor
1,2,3='white'
other='black';
RUN;
/*
Data Anno;
%Bar(0,0,100,100,black,0,e);
%Bar(0,10,75,90,cxff0000,0,s);
%Bar(75,50,0,360,6,black,s,3);
Run;
filename Bar "...\Highline.gif";
goptions device=gif gsfname=bar hsize=1.5in vsize=.2in;
Proc gslide Anno=Anno;
Run;
Quit;*/
PROC REPORT data=Ranks nowd;
Columns RateRank SchDist
("Selected Measure" VarCount VarRate);
Define RateRank / "Rank" group ;
Define SchDist / group "School District";
Define VarCount / "Count";
Define VarRate / "Rate";
/*Define ShowBar / "Relative Rate" computed;
compute ShowBar / char;
call define(_col_,'style',"style=[preimage='"||SchDist||".gif']");
endcomp;*/
Run;
Thank you
... View more