 
 
 class PlotView extends Continuum.DeferredParent
-
   default_options : {
     scale:1.0
   }

  render : ->
    super()
    node = @build_node()
    @tag_d3('plot').attr('transform',
      _.template('translate({{s}}, {{s}})', {'s' : @mget('border_space')}))

    node.attr('width', @mget('outerwidth'))
      .attr('height', @mget('outerheight'))
      .attr('x', @model.position_x())
      .attr('y', @model.position_y())
    row_heights =  @model.layout_heights()



class GridPlotContainerView extends Continuum.DeferredParent
  default_options : {
    scale:1.0
  }
  initialize : (options) ->
    super(_.defaults(options, @default_options))
    @childviews = {}
    @build_children()
    @request_render()
