lib/axlsx/drawing/series.rb in axlsx-1.1.3 vs lib/axlsx/drawing/series.rb in axlsx-1.1.4

- old
+ new

@@ -25,10 +25,11 @@ options.each do |o| self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}=" end end + # The index of this series in the chart's series. # @return [Integer] def index @chart.series.index(self) end @@ -64,9 +65,8 @@ str << '<c:order val="' << (order || index).to_s << '"/>' title.to_xml_string(str) unless title.nil? yield str if block_given? str << '</c:ser>' end - end end