Hello All, I am looking to create a needle SGPLOT in SAS 9.4M3 with both of the following: An XAXISTABLE inside of the graphic's XAXIS area (location=inside) A transparent background for the entire graphic (as normally accomplished with the noopaque SGPLOT option) My question is not whether or not this is possible (I understand there can be an SGANNO work-around). My question is whether or not there is a simple solution that will produce an XAXISTABLE inside the XAXIS area with a transparent/noopaque background. When I submit the following code, I expect that my XAXISTABLE will follow the noopaque option, but it does not. ods html;
data dateCounts;
do date="01JAN2017"d to "31DEC2017"d by 1;
count=floor(101*rand("uniform"));
output;
end;
run;
ods graphics/ border=off width=9in height=5.0625in;
proc sgplot data=dateCounts nowall noborder noopaque pad=0;
needle x=date y=count/ lineattrs=(color=grey thickness=2);
xaxis display=(nolabel noline noticks) valueattrs=(family=garamond color=gray size=8) interval=month ;
yaxis display=(nolabel noline noticks) values=(0 50 100) valueattrs=(family=garamond color=gray size=8);
refline 25 50 75 100/axis=y lineattrs=(color=white thickness=1 ) transparency=0.57;
xaxistable count / nolabel location=inside position=bottom pad=0 valueattrs=(family=garamond color=gray size=16);
format date monyy5. count comma9.;
run; Note: If I use the 'location=outside' option in the XAXISTABLE statement, the resulting background will be completely transparent, but I'd rather keep the XAXISTABLE with a 'location=inside' if it is possible to do so with a transparent background. Thank you, Chad
... View more