The SAS Output Delivery System and reporting techniques

SGPanel Bar Labels

Reply
Frequent Contributor
Posts: 126

SGPanel Bar Labels

I'm using SGPanel to create panels of bar charts. Is it possible to put a label on the second bar series using another variable in my table? My table consists of the count of students who enrolled last Fall, the count of those students who returned the next Fall, and the third column is the % who returned. How can I apply the % to that second hbar series. Below is the code I'm using:

proc sgpanel data=ff_last_curr3;

    PanelBy Race_Grp gender / columns=3 layout=lattice novarname uniscale=column;

    hbar fp_code / response=all_lfall_Sum LEGENDLABEL='All Count';

    hbar fp_code / response=all_ret_Sum BARWIDTH= 0.5 transparency=0.2 LEGENDLABEL='All Returned';

    colaxis grid label='Count';

    rowaxis grid label=' ';

run;

Thanks,

Brian

Ask a Question
Discussion stats
  • 0 replies
  • 186 views
  • 0 likes
  • 1 in conversation