         @dragging = false
         @button_panning = false
       else
-        @
         @_start_drag(e, x, y))
 
     @plotview.moveCallbacks.push((e, x, y) =>

    safebind(this, @model, 'change', @request_render)
    safebind(this, @mget_ref('mapper'), 'change', @request_render)

  tagName : 'g'

  get_offsets : (orientation) ->
    offsets =

        "left:#{offset[0]}px; top:#{ypos}px")
      plot_wrapper.append(view.$el)
      @$el.append(plot_wrapper)
      @$el.attr(
        'style',
        "height:#{@mget('height')}px; width:#{@mget('width')}px;")
    @render_end()


class PlotView extends Continuum.DeferredView
  default_options : {scale:1.0}

  build_renderers : ->
    build_views(@model, @renderers, @mget('renderers'),
        plot_id : @id,
        plot_model : @model
        plot_view : @)

  build_axes : ->
    build_views(@model, @axes, @mget('axes'),
        plot_id : @id
        plot_model : @model
        plot_view : @)

  build_tools : ->
    build_views(@model, @tools, @mget('tools'),
        plot_id : @id,
        plot_model : @model
        plot_view : @)

  build_overlays : ->
    #add ids of renderer views into the overlay spec
