       $("#{@container_selector()} rect.serie").qtip
         content:
           title: -> $(this).attr('data-tooltip-title')
-          text: -> $(this).attr('data-tooltip-text')
+          text:  -> $(this).attr('data-tooltip-text')
         position:
           my: 'bottom center'
           at: 'top center'

          series_for_legend.push s

      legend_columns = if series_for_legend.length > 6 then 2 else 1
      @draw_legend
        svg: @svg
        series: series_for_legend
        width: @width
        vertical_offset: @series_height + 20
        columns: legend_columns

      # the stack method will filter the data and calculate the offset for every


    can_be_shown_as_table: -> true

    margins:
      top: 20
      bottom: 20
      left: 30
      right: 40

    draw: =>
      @width  = @available_width() - (@margins.left + @margins.right)
      @height = @available_height() - (@margins.top + @margins.bottom)

      # prepare legend
      # remove duplicate target series. Required for backwards compatibility.
      # When we'll drop the old charts we should use a single serie as target
      # rather than two
