From db18c28df9fe5c44404e5f9af70a3db14a4b1f9a Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Thu, 18 Apr 2013 08:31:07 +0900 Subject: Added line specification Required by Libre and Open office, and correct by spec. When we get a requirement to customize the line width/shape this should be extracted out into a Line class. --- lib/axlsx/drawing/line_series.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/axlsx/drawing/line_series.rb b/lib/axlsx/drawing/line_series.rb index 467dcc2d..b011e0b6 100644 --- a/lib/axlsx/drawing/line_series.rb +++ b/lib/axlsx/drawing/line_series.rb @@ -51,13 +51,19 @@ module Axlsx # @return [String] def to_xml_string(str = '') super(str) do - str << '' unless @show_marker if color str << '' str << '' - str << '' + str << '' + str << '' + str << '' + str << '' + str << '' + str << '' + str << '' + str << '' end - + str << '' unless @show_marker @labels.to_xml_string(str) unless @labels.nil? @data.to_xml_string(str) unless @data.nil? end -- cgit v1.2.3