\newcommand{\lecol}{gray}
\newcommand{\ricol}{lightgray}
\renewcommand{\betweenticks}{50}
\bardiagrambegin{12.5}{200}{1cm}{1}{2.5}{0.9cm}{0.05cm}
    \drawlevellines
    \barspergroup{2}
    \renewcommand{\barlabelangle}{0}
    \baritem{1998}{123}{\lecol} \barerror{25}
        \subbaritem{}{118}{\ricol} \barerrormargins{35}{15}
    \baritem{1999}{126}{\lecol} \barerror{20}
        \subbaritem{}{119}{\ricol} \barerrormargins{35}{32}
    \baritem{2000}{144}{\lecol} \barerror{24}
        \subbaritem{}{148}{\ricol} \barerror{30}
    \baritem{2001}{176}{\lecol} \barerror{22}
        \subbaritem{}{170}{\ricol} \barerror{25}
    \baritem{2002}{128}{\lecol} \barerror{20}
        \subbaritem{}{134}{\ricol}  \barerror{30} 
    \diagLegendbegin{1}{190}{3.2} 
      \diagLegenditem{Women}{\lecol}
      \diagLegenditem{Men}{\ricol}
    \diagLegendend
\bardiagramend{{\large Year}}{{\large Income}}

