bar chart now adapts bar width automatically