Hi everyone,

I was wondering if anyone could help me with increasing the gap between the bar charts in two-way bar graphs?

My code is:

twoway bar pc_immig1 naics_21 if tag1 & inlist(naics_21, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 ,21),[fw=fweight]||
scatter pc_immig1 naics_21 if tag1 & inlist(naics_21, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 ,21), mlabel(pc_immig1)||,
xla(1/21, valuelabel) ytitle(% of immigrants)

I tried using bargap(1) in my code but it says isn't invalid

Array