size adaptive barchart