diff options
| author | randym <[email protected]> | 2018-02-08 00:14:12 +0900 |
|---|---|---|
| committer | randym <[email protected]> | 2018-02-08 00:14:12 +0900 |
| commit | 747ff93269c518db21c9869b61b1d1470395b502 (patch) | |
| tree | 16c8d9c416a02fc7ca8bd91e058ea61c72dfc7ce /lib/axlsx/drawing/scatter_series.rb | |
| parent | 3f34514ecf53fb4a3401b5336833bbeb439efe2a (diff) | |
| download | caxlsx-747ff93269c518db21c9869b61b1d1470395b502.tar.gz caxlsx-747ff93269c518db21c9869b61b1d1470395b502.zip | |
chore(coverage) increase coverage and cleanup
Diffstat (limited to 'lib/axlsx/drawing/scatter_series.rb')
| -rw-r--r-- | lib/axlsx/drawing/scatter_series.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/axlsx/drawing/scatter_series.rb b/lib/axlsx/drawing/scatter_series.rb index 6b71227c..b9ca2c1d 100644 --- a/lib/axlsx/drawing/scatter_series.rb +++ b/lib/axlsx/drawing/scatter_series.rb @@ -27,7 +27,7 @@ module Axlsx # Line smoothing between data points # @return [Boolean] attr_reader :smooth - + # Creates a new ScatterSeries def initialize(chart, options={}) @xData, @yData = nil @@ -55,7 +55,7 @@ module Axlsx Axlsx::validate_boolean(v) @smooth = v end - + # @see ln_width def ln_width=(v) @ln_width = v @@ -85,7 +85,7 @@ module Axlsx end if ln_width str << '<c:spPr>' - str << '<a:ln w="' << ln_width << '"/>' + str << '<a:ln w="' << ln_width.to_s << '"/>' str << '</c:spPr>' end @xData.to_xml_string(str) unless @xData.nil? |
