I'm using SAS 9.3 and trying to create a vertical bar chart with custom confidence intervals that includes the data label values for the bar charts but not the confidence intervals. When I use the DATALABEL option of VBARPARM, I also get the the confidence interval data labels which makes the chart very busy. Any help appreciated. Thanks. I'm using the following code: proc template; define style barcolor; parent=styles.sasweb; style GraphData1 from GraphData1 / color= DAG; style GraphData2 from GraphData2 / color= VIBG; style GraphData3 from GraphData3 / color= LIOLGR; class GraphFonts / 'GraphLabelFont'=("Arial", 10pt, bold) 'GraphValueFont'=("Arial", 10pt, bold) 'GraphTitleFont'=("Arial", 16pt, bold) 'GraphLabelFont' =("Arial", 14pt, bold) 'GraphDataFont' =("Arial", 10pt, bold) ; class graphwalls / frameborder=off; end; run; ods html style=barcolor file='final.htm'; %macro sexid (var, text, text2); **Looking at data by other variables and year to understand trends in reporting of sexual identity**; proc surveyfreq data=illinois_psu varheader=label nomcar ; stratum stratum2; cluster psu; weight weight; tables &var.*sexid/ row chisq CL ; ods output CrossTabs=&var._sexid; run; proc sgplot data=&var._sexid noautolegend ; format rowpercent 3.1; vbarparm category=&var. response=rowpercent / group=sexid name="&var." barwidth=0.6 limitupper=RowUpperCL limitlower=RowLowerCL; where sexid in (2,3,4) and &var. ne .; xaxis display=(nolabel); yaxis label='Percent' values=(1 2 3 4 5 6 7 8 9 10); TITLE "Proportion of High School Students Identifying as &text. by &text2.", 2009-2015; keylegend "&var." / noborder location=inside position=top; run; %mend; %sexid (race4,Gay/Lesbian Bisexual or Not Sure, Race);
... View more