changed barchart values to double