04-09-2017 02:47 PM
In proc sgplot with either hbar or vbar statement, how to bring information from two variables to one bar. For eg. var1=5 and var2=10. Other obs could be var1=2 and var2=5. The plot should show one bar for each obs and each representaive bar should show informaion from both var1 (red) and var2 (blue). The group won't work here.
04-09-2017 03:17 PM
You'll need to restructure you data into how SAS expects it to be for a stacked bar chart.
This means combining the variables and included a new variable to denote the source/group.
04-09-2017 04:37 PM
Need further help from the community? Please ask a new question.