lib/write_xlsx/chart.rb in write_xlsx-0.80.0 vs lib/write_xlsx/chart.rb in write_xlsx-0.81.0

- old
+ new

@@ -1135,10 +1135,13 @@ write_major_tick_mark(x_axis.major_tick_mark) # Write the c:tickLblPos element. write_tick_label_pos(x_axis.label_position) + # Write the c:spPr element for the axis line. + write_sp_pr(x_axis) + # Write the axis font elements. write_axis_font(x_axis.num_font) # Write the c:crossAx element. write_cross_axis(axis_ids[1]) @@ -1202,13 +1205,16 @@ write_number_format(y_axis) # Write the c:majorTickMark element. write_major_tick_mark(y_axis.major_tick_mark) - # Write the tickLblPos element. + # Write the c:tickLblPos element. write_tick_label_pos(y_axis.label_position) + # Write the c:spPr element for the axis line. + write_sp_pr(y_axis) + # Write the axis font elements. write_axis_font(y_axis.num_font) # Write the c:crossAx element. write_cross_axis(axis_ids_0) @@ -1268,9 +1274,11 @@ # Write the c:majorTickMark element. write_major_tick_mark(x_axis.major_tick_mark) # Write the c:tickLblPos element. write_tick_label_pos(x_axis.label_position) + # Write the c:spPr element for the axis line. + write_sp_pr(x_axis) # Write the font elements. write_axis_font(x_axis.num_font) # Write the c:crossAx element. write_cross_axis(axis_ids[1])