If you want to look into GTL, you can get most of what you want. If you have SAS 9.3, you can do this as a Grouped Bar chart and Line overlay using PROC SGPLOT. and use skins to get the 3D effect. With SAS 9.2 (TS2M3) you can get this: You have to set up your data as multiple columns (like Excel). Then overlay the bars and line as you need: data BarLineMulti;
format p 2.0;
do Date='Jan 11', 'Feb 11', 'Mar 11', 'Apr 11', 'May 11', 'Jun 11',
'Jul 11', 'Aug 11', 'Sep 11', 'Oct 11', 'NOv 11', 'Dec 11';
A=5*ranuni(2);
B=5*ranuni(2);
C=5*ranuni(2);
D=5*ranuni(2);
P=5*ranuni(2);
output;
end;
run;
proc print;run;
proc template;
define statgraph BarLineMulti;
begingraph;
layout overlay / xaxisopts=(display=(line ticks tickvalues)) yaxisopts=(label='Compliance') cycleattrs=true;
barchart x=date y=a / discreteoffset=-0.3 barwidth=0.2 name='a';
barchart x=date y=b / discreteoffset=-0.1 barwidth=0.2 name='b';
barchart x=date y=c / discreteoffset= 0.1 barwidth=0.2 name='c';
barchart x=date y=d / discreteoffset= 0.3 barwidth=0.2 name='d';
seriesplot x=date y=p / lineattrs=graphdatadefault(thickness=3);
scatterplot x=date y=p / markerattrs=(symbol=circlefilled size=20 color=black);
scatterplot x=date y=p / markerattrs=(symbol=circlefilled size=18 color=white);
scatterplot x=date y=p / markercharacter=p markercharacterattrs=(color=black);
discretelegend 'a' 'b' 'c' 'd';
endlayout;
endgraph;
end;
run;
ods listing;
ods graphics / reset width=6in height=3in imagename='Bar Line Multi';
proc sgrender data=BarLineMulti template=BarLineMulti;
run;
... View more