adding barchart