# File lib/chart-candy/builder/xls_builder.rb, line 82
  def generate
    header

    case @chart[:nature]
      when 'line' then generate_chart_line_table
      when 'donut' then generate_chart_donut_table
    end

    set_columns_width
  end