# File lib/chart-candy/builder/xls_builder.rb, line 93
  def generate_chart_line_table
    row @chart[:axis][:x][:label], :th

    @chart[:lines].map { |l| cell l[:label] }

    @chart[:lines][0][:data].each_with_index do |l,i|
      row

      cell l[:x], nature: @chart[:axis][:x][:nature]

      @chart[:lines].each { |line| cell line[:data][i][:y], nature: @chart[:axis][:y][:nature] }
    end

    row @chart[:lines][0][:total][:label], :th_foot

    @chart[:lines].map { |l| cell l[:total][:value], nature: :number }
  end