Dear all, I would like to add a "total" bar within my bar chart
There are two variables - and five different categories.
Now i would like to obtain - without creating another category - the total over all categories, so I can compare the variables directly in my bar chart.
Is there any option I can add in my code?
Thank you for any hints!
graph bar (median) a_t w_t if sex==1,
over(erwst_paar, relabel(1 "a" 2 "b" 3 "c" 4 "d" 5 "e") )
ytitle("Stunden (Median)")
yscale(range(0/50))
ylabel(0(5)50, labsize(small))
legend(position(6) label(1 "actual time") label(2 "wanted time")
size(vsmall) cols(3) colfirst )
There are two variables - and five different categories.
Now i would like to obtain - without creating another category - the total over all categories, so I can compare the variables directly in my bar chart.
Is there any option I can add in my code?
Thank you for any hints!
graph bar (median) a_t w_t if sex==1,
over(erwst_paar, relabel(1 "a" 2 "b" 3 "c" 4 "d" 5 "e") )
ytitle("Stunden (Median)")
yscale(range(0/50))
ylabel(0(5)50, labsize(small))
legend(position(6) label(1 "actual time") label(2 "wanted time")
size(vsmall) cols(3) colfirst )
Comment