       true
 
   available_width: -> @$el.width()
+
   available_height: -> @$el.height()
 
   # Builds a standard legend. Options hash:

      .enter()
      .append("svg:g")
      .attr("class", "legend")
      .attr("transform", (d, i) ->
        x = legend_margin * (i % opts.columns)
        y = Math.floor(i / opts.columns) * 16
        "translate(#{x}, #{y})")
      .attr("height", 30)
      .attr("width", 90)

        d.get('label') || I18n.t("output_element_series.#{d.get('key')}")
      )

  # height of the legend item
  legend_cell_height: 15
