improve float block for bar chart