# File lib/chart-candy/builder/xls_builder.rb, line 13 def initialize(chart) @chart = chart @workbook = Spreadsheet::Workbook.new @sheet = @workbook.create_worksheet @formats = build_formats @current_row = -1 @current_row_format = :normal @current_column = 0 @columns_width = [] @max_column_width = 50 @default_column_width = 10 end