 
     angle = _angle_lookup[side][orient]
     standoff = @_tick_extent() + @_tick_label_extent() + @mget('axis_label_standoff')
+
     sx = (sx[0] + sx[sx.length-1])/2
     sy = (sy[0] + sy[sy.length-1])/2
 

    if @mget('axis_label')
      extent += @mget('axis_label_standoff')
      @axis_label_props.set(@plot_view.ctx, @)
      w = @plot_view.ctx.measureText(@mget('axis_label')).width
      h = @plot_view.ctx.measureText(@mget('axis_label')).ascent
      if side == "top" or side == "bottom"
        extent += w*s + h*c
      else
        extent += w*c + h*s

    return extent

    # rounding = @mget('rounding_value')

    # return (Math.floor(extent/rounding) + 1) * rounding

  _padding_request: () ->
    req = {}

    if extent > 0
      extent += @mget('major_label_standoff')

    return extent

  _axis_label_extent: () ->
    extent = 0
