summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/axlsx/drawing/line_series.rb12
1 files 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 << '<c:marker><c:symbol val="none"/></c:marker>' unless @show_marker
if color
str << '<c:spPr><a:solidFill>'
str << '<a:srgbClr val="' << color << '"/>'
- str << '</a:solidFill></c:spPr>'
+ str << '</a:solidFill>'
+ str << '<a:ln w="28800">'
+ str << '<a:solidFill>'
+ str << '<a:srgbClr val="' << color << '"/>'
+ str << '</a:solidFill>'
+ str << '</a:ln>'
+ str << '<a:round/>'
+ str << '</c:spPr>'
end
-
+ str << '<c:marker><c:symbol val="none"/></c:marker>' unless @show_marker
@labels.to_xml_string(str) unless @labels.nil?
@data.to_xml_string(str) unless @data.nil?
end