lib/write_xlsx/chart/scatter.rb in write_xlsx-0.73.0 vs lib/write_xlsx/chart/scatter.rb in write_xlsx-0.74.0
- old
+ new
@@ -139,10 +139,10 @@
# Write the <c:plotArea> element.
#
def write_plot_area
@writer.tag_elements('c:plotArea') do
# Write the c:layout element.
- write_layout
+ write_layout(@plotarea[:_layout], 'plot')
# Write the subclass chart type elements for primary and secondary axes
write_chart_type(:primary_axes => 1)
write_chart_type(:primary_axes => 0)