Add bargroups to bar chart