fixed issue where x axis label position was NaN when there is exactly 1 "bucket" on the corresponding x axis