Dear SAS Community,
I was hoping to label each category in the bars with the respective percentage, but instead I am getting these numbers. According to the freq table, for the season=2024 the percentage for Hass should be 95% for PeelColor=4 so I wonder what '152' means (green color last column on the right). I would greatly appreciate your help!
This is the code I am using :
title "100 Stacked Bar Chart Ordered by Percentages"; proc sgpanel data=one ; where Variety in('BL516', 'Hass'); panelby Season / columns=4 one panel; vbar Variety / response=PeelColor group=PeelColor grouporder=data groupdisplay=stack seglabel ; colaxis discreteorder=data; rowaxis grid values=(0 to 100 by 10) label="Percentage of PeelColor category"; run;
Frequency
Percent
Row Pct
Col Pct
Table of Variety by PeelColor
Variety
PeelColor
3
4
Total
Hass
2
5.00
5.00
100.00
38
95.00
95.00
100.00
40
100.00
Total
2
5.00
38
95.00
40
100.00
... View more