Made the barchart work as it should. Deleted the old barchart. Also added the option to display the barchart and boxplot together