lib/write_xlsx/chart/area.rb in write_xlsx-0.62.0 vs lib/write_xlsx/chart/area.rb in write_xlsx-0.64.0
- old
+ new
@@ -26,11 +26,11 @@
@cross_between = 'midCat'
@show_crosses = false
# 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
@@ -57,9 +57,12 @@
@writer.tag_elements('c:areaChart') do
# Write the c:grouping element.
write_grouping(subtype)
# Write the series elements.
series.each {|s| write_series(s)}
+
+ # Write the c:dropLines element.
+ write_drop_lines
# Write the c:marker element.
write_marker_value
# Write the c:axId elements