     draw: =>
       [@width, @height] = @available_size()
 
-      legend_columns = if @model.series.length > 6 then 2 else 1
-      legend_rows = @model.series.length / legend_columns
-      legend_margin = 20
-
       # dimensions of the chart body
-      @series_height = @height - legend_margin
+      @series_height = @height - @legend_margin
       @series_width  = @width - 15
 
       @svg = @create_svg_container @width, @series_height, @margins
 
-      @draw_legend
-        svg: @svg
-        series: @model.series.models
-        width: @width
-        vertical_offset: @series_height + legend_margin
-        columns: legend_columns
+      @display_legend()
 
       # 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

      sorter: -> (series) -> series.reverse()

    can_be_shown_as_table: -> true

    margins:
      top: 20

      # See above for explanation of this method chain
      stacked_data = @stack_method(@nest.entries @prepare_data())

      @display_legend()

      @svg.selectAll('path.serie')
        .data(stacked_data, (s) -> s.key)
        .transition()
