lib/write_xlsx/chart/column.rb in write_xlsx-0.62.0 vs lib/write_xlsx/chart/column.rb in write_xlsx-0.64.0

- old
+ new

@@ -33,11 +33,11 @@ @subtype = subtype || 'clustered' @horiz_val_axis = 0 # Override and reset the default axis values. if @subtype == 'percent_stacked' - @y_axis[:_defaults][:num_format] = '0%' + @y_axis.defaults[:num_format] = '0%' end set_y_axis end @@ -56,9 +56,17 @@ val = 'col' attributes = ['val', val] @writer.empty_tag('c:barDir', attributes) + end + + # + # Write the <c:errDir> element. Overridden from Chart class since it is not + # used in Bar charts. + # + def write_err_dir(direction) + # do nothing end end end end