lib/write_xlsx/chart/bar.rb in write_xlsx-0.79.0 vs lib/write_xlsx/chart/bar.rb in write_xlsx-0.80.0

- old
+ new

@@ -29,9 +29,18 @@ @show_crosses = false # Override and reset the default axis values. axis_defaults_set set_x_axis set_y_axis + + # Set the available data label positions for this chart type. + @label_position_default = 'outside_end' + @label_positions = { + 'center' => 'ctr', + 'inside_base' => 'inBase', + 'inside_end' => 'inEnd', + 'outside_end' => 'outEnd' + } end # # Override the virtual superclass method with a chart specific method. #