make layout of barchart