I am using the below script to create a bullet chart. I am not asking for a legend but it's still gived me the legend.
ods graphics / reset width=250 height=130 ;
proc sgplot data=chart ;
hbar binner/ response=bin3 transparency=0.2 nooutline barwidth=1 fillattrs=(color=gray) ;
hbar binner/ response=actual transparency=0.2 nooutline barwidth=.3 fillattrs=(color=black) ;
refline .71 /lineattrs=(color=red Thickness=4px ) axis=x ;
yaxis display =none;
xaxis display=(nolabel);
run;