ods graphics / width=200px height=400px; proc sgplot data=IFS; title "SAS Christmas Tree"; scatter x=x y=y / markerattrs=(size=1 color=ForestGreen); yaxis display=none; xaxis display=none; run;
ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot Stacked Area Plot") style=htmlblue; ods graphics / imagefmt=png imagename="&name" width=800px height=600px noborder; title1 color=gray33 ls=0.0 h=23pt "Stacked Area Plot"; proc sgplot data=my_data noautolegend; stylea...
ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot 100% Stacked Area Plot") style=htmlblue;
proc sgplot data=my_data noautolegend; styleattrs datacolors=(cx993366 cx9999ff); band x=x lower=base1_pct upper=y1_pct; band x=x lower=base2_pct upper=y2_pct; yaxis values=(0 to 1 by .2) label='Y Axis' labelattrs=(size=16pt weight=bold color=gray33) valueattrs=(size=16pt weight=bold color=g...
ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot Horizontal Grouped Bar") style=htmlblue; ods graphics / imagefmt=png imagename="&name" width=800px height=600px noborder imagemap;
title1 color=gray33 ls=0.5 h=23pt "Horizontal Grouped Bar"; title2 color=gray33 ls=0.5 h=17pt "Compares values across categories"; proc sgplot data=my_data noautolegend; styleattrs datacolors=(cx9999ff cx993366); hbar category / response=amount stat=sum group=series groupdisplay=cluster groupo...
%let name=bar2; filename odsout '.'; ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot Horizontal Grouped Bar (3D)") style=htmlblue; ods graphics / imagefmt=png imagename="&name" width=800px height=600px noborder imagemap; title1 color=gray33 ls=0.5 h=23pt "Horizont...
proc sgplot data=my_data noautolegend; styleattrs datacolors=(cx9999ff cx993366); hbar category / response=amount stat=sum group=series groupdisplay=cluster grouporder=descending dataskin=sheen /*
ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot Horizontal Stacked Bar") style=htmlblue;
proc sgplot data=my_data noautolegend; styleattrs datacolors=(cx9999ff cx993366); hbar category / response=amount stat=sum group=series /*groupdisplay=cluster grouporder=descending*/ outlineattrs=(color=black) nostatlabel; xaxis values=(0 to 16 by 4) labelattrs=(size=16pt weight=bold color=...