lib/write_xlsx/chart/axis.rb in write_xlsx-1.08.2 vs lib/write_xlsx/chart/axis.rb in write_xlsx-1.09.0
- old
+ new
@@ -85,12 +85,12 @@
value
end
def num_fmt_attributes
[
- ['formatCode', @num_format],
- ['sourceLinked', source_linked]
+ ['formatCode', @num_format],
+ ['sourceLinked', source_linked]
]
end
def set_major_minor_gridlines(args)
# Map major/minor_gridlines properties.
@@ -173,10 +173,10 @@
# Set the position for a category axis on or between the tick marks.
if @position_axis
if @position_axis == 'on_tick'
@position_axis = 'midCat'
elsif @position_axis == 'between'
- # Doesn't neet to be modified.
+ # Doesn't neet to be modified.
else
# Otherwise use the default value.
@position_axis = nil
end
end