lib/chart-candy/builder/xls_builder.rb in chart-candy-0.1.6 vs lib/chart-candy/builder/xls_builder.rb in chart-candy-0.1.7
- old
+ new
@@ -116,9 +116,10 @@
row [@chart[:total][:label], @chart[:total][:value]], :th_foot
end
def header
row @chart[:title], :h1
+ row @chart[:subtitle], :h2 if @chart[:subtitle]
row @chart[:period], :h3 if @chart[:period]
reset_columns_width
skip_row