         .attr("y", 8)
         .text((d) -> d.get 'label')
 
-
       # the stack method will filter the data and calculate the offset for every
       # item. The values function tells this method that the values it will
       # operate on are an array held inside the values member. This member will

      legend_columns = 2
      legend_margin = @width / legend_columns
      legend = @svg.append('svg:g')
        .attr("transform", "translate(10,210)")
        .selectAll("svg.legend")
        .data(@model.series.models)
        .enter()

        right: 20

      @width = 494 - (margins.left + margins.right)
      @height = 300 - (margins.top + margins.bottom)
      # height of the series section
      @series_height = 190
      @svg = d3.select("#d3_container_#{@key}")
        .append("svg:svg")
        .attr("height", @height + margins.top + margins.bottom)
