lib/write_xlsx/chart/radar.rb in write_xlsx-0.79.0 vs lib/write_xlsx/chart/radar.rb in write_xlsx-0.80.0
- old
+ new
@@ -39,9 +39,13 @@
@x_axis.defaults[:major_gridlines] = { :visible => 1 }
set_x_axis
# Hardcode major_tick_mark for now untill there is an accessor.
@y_axis.major_tick_mark = 'cross'
+
+ # Set the available data label positions for this chart type.
+ @label_position_default = 'center'
+ @label_positions = { 'center' => 'ctr' }
end
#
# Override the virtual superclass method with a chart specific method.
#