Handle bar chart boundary condition well.