Made the barchart work. Yay.