lib/axlsx/drawing/pie_3D_chart.rb in axlsx-1.0.13 vs lib/axlsx/drawing/pie_3D_chart.rb in axlsx-1.0.14

- old
+ new

@@ -29,11 +29,11 @@ # Serializes the pie chart # @return [String] def to_xml super() do |xml| - xml.send('c:pie3DChart') { - xml.send('c:varyColors', :val=>1) + xml[:c].pie3DChart { + xml[:c].varyColors :val=>1 @series.each { |ser| ser.to_xml(xml) } } end end end