Hello, I am interested in adding a vertical line to a bar graph with labels. Here's a code I tried and an error showed up:
Error: xlabels(2009 105%" 2010 "125%" 2012 "No invalid name
This works with twoway connected, but not with bar graph. Is there a way to add vertical line?
Thanks in advance for your consideration.
Amina
Code:
graph bar (mean) refipn [fweight = liab] if a == "LOANS ORIGINATED", over(year) ytitle(Percent) xaxis(1 2) title(Loans Originated Amt) note(Weighted by bank liability) xline(2009 2010 2012) xlabel(2009 "105%" 2010 "125%" 2012 "No Limit", axis(2)) xtitle("", axis(2))
This works with twoway connected, but not with bar graph. Is there a way to add vertical line?
Thanks in advance for your consideration.
Amina
Comment