Correct box plot scaling so they consistently fill their canvas.

Using a unit "offset" of 1.0 caused box plots to fail to fill the
canvas if (max - min) was of the order of 1.

This patch only sets to offset to 1.0 if the ( max - min )
would otherwise cause a division by zero.  With this correction, box
plots now correctly scale to the canvas width.