fixed issue where axis labels at top or bottom had x position of NaN when chart had exactly 1 "bucket" on the x axis