lib/write_xlsx/chart/pie.rb in write_xlsx-0.81.1 vs lib/write_xlsx/chart/pie.rb in write_xlsx-0.83.0

- old
+ new

@@ -41,9 +41,16 @@ 'best_fit' => 'bestFit' } end # + # Override parent method to add a warning. + # + def combine(chart) + raise "Combined chart not currently supported for Pie charts" + end + + # # Set the Pie/Doughnut chart rotation: the angle of the first slice. # def set_rotation(rotation) return unless rotation if rotation >= 0 && rotation <= 360