lib/axlsx/drawing/line_series.rb in axlsx-1.0.7 vs lib/axlsx/drawing/line_series.rb in axlsx-1.0.8
- old
+ new
@@ -24,10 +24,9 @@
end
# Serializes the series
# @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
# @return [String]
- # TODO create series_cat and series_val classes as this serialization is duplicated
def to_xml(xml)
super(xml) do |xml|
@labels.to_xml(xml) unless @labels.nil?
@data.to_xml(xml) unless @data.nil?
end