prevent setting x min and max for bar charts