Fix lost ticks

For issue #1310: Drops last tick label for some ranges

   Added a strategy to stop losing ticks on the ends of an axis.  The approach that is
    used is to pad the interval that is being used to "clip" ticks from the axis because
    they are off the end.
    
    The padding is chosen specifically such that the tick cannot be drawn a pixel past the
    end of the axis.  So long as the tick is within this bound, it should be OK to draw it.