Produce the second horizontal bar chart with modified midpoints. The MIDPOINTS= option specifies the middle value of the range of values represented by each bar. The FREQ option requests that only the frequency statistic appears in the table. The FREQLABEL= option specifies the text for the column header in the table of statistics.


hbar3d age / midpoints=(30 40 50)
freq freqlabel="Total in Group" subgroup=sex autoref
     maxis=axis2
     raxis=axis1
     legend=legend1
     coutline=black
     ;
run;
quit;