       overlayspec['options']['rendererviews'] = []
       for renderer in overlay.get('renderers')
         overlayspec['options']['rendererviews'].push(@renderers[renderer.id])
-    build_views(@model, @overlays, overlays,
-        plot_id : @id,
-        plot_model : @model
-        plot_view : @)
+    build_views(@model, @overlays, overlays, @model_specs())
 
   bind_overlays : ->
     for overlayspec in @mget('overlays')

      @$el.append(view.$el)
    for own key, view of @renderers
      @$el.append(view.$el)

    @render_end()
  render_mainsvg : ->
    if true
      return
    
  render_deferred_components: (force) ->
    super(force)
    all_views = _.flatten(_.map([@tools, @axes, @renderers, @overlays], _.values))

    if _.any(all_views, (v) -> v._dirty)
      @ctx.clearRect(0,0,  @mget('width'), @mget('height'))      
      for v in all_views
        v._dirty = true
        v.render_deferred_components(true)


build_views = Continuum.build_views

class XYRendererView extends PlotWidget
  initialize : (options) ->
    safebind(this, @model, 'change', @request_render)

    pv = @plot_view
    pvo = @plot_view.options
    own_options = @options

    xmapper = @model.get_ref('xmapper')
    ymapper = @model.get_ref('ymapper')
    xfield = @model.get('xfield')
