       sorter: -> (series) -> series.reverse()
 
     can_be_shown_as_table: -> true
+
+    legend_margin: 20
 
     margins:
       top: 20

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

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

          #{@start_year}: #{@main_formatter()(d.values[0].y)}</br>
          #{@end_year}: #{@main_formatter()(d.values[2].y)}
        ")

    display_legend: =>
      $(@container_selector()).find('.legend').remove()

      legend_columns = if @model.series.length > 6 then 2 else 1

      series = _.filter @model.series.models, (s) ->
        Math.abs((s.safe_future_value() + s.safe_present_value())) > 1e-7

      @draw_legend
        svg: @svg
        series: series
        width: @width
        vertical_offset: @series_height + @legend_margin
        columns: legend_columns

    # We need to pass the chart series through the stacking function and the SVG
    # area function. To do this let's format the data as an array. An
