lib/write_xlsx/chart.rb in write_xlsx-1.10.2 vs lib/write_xlsx/chart.rb in write_xlsx-1.11.0

- old
+ new

@@ -369,10 +369,10 @@ # # Set on of the 42 built-in Excel chart styles. The default style is 2. # def set_style(style_id = 2) - style_id = 2 if style_id < 0 || style_id > 48 + style_id = 2 if style_id < 1 || style_id > 48 @style_id = style_id end # # Set the option for displaying blank data in a chart. The default is 'gap'.