diff options
| author | Randy Morgan <[email protected]> | 2012-04-28 11:54:02 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-04-28 11:54:02 +0900 |
| commit | 7f980dc27307d0b76fb8dc2ba736ef6aac10fd3e (patch) | |
| tree | 33a3bd9f0befb9f65dfb9072890802eaaa5a040f | |
| parent | 5e9f7797a3ecb4c9a53741023093addb5a6e9de2 (diff) | |
| download | caxlsx-7f980dc27307d0b76fb8dc2ba736ef6aac10fd3e.tar.gz caxlsx-7f980dc27307d0b76fb8dc2ba736ef6aac10fd3e.zip | |
color needs to be delegated to the concrete series.
| -rw-r--r-- | lib/axlsx/drawing/series.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/axlsx/drawing/series.rb b/lib/axlsx/drawing/series.rb index 44e82ae1..9a4de2d4 100644 --- a/lib/axlsx/drawing/series.rb +++ b/lib/axlsx/drawing/series.rb @@ -10,11 +10,6 @@ module Axlsx # @return [Chart] attr_reader :chart - # The fill color for this series. - # Red, green, and blue is expressed as sequence of hex digits, RRGGBB. A perceptual gamma of 2.2 is used. - # @return [String] - attr_reader :color - # The title of the series # @return [SeriesTitle] attr_reader :title @@ -32,10 +27,6 @@ module Axlsx end end - # @see color - def color=(v) - @color = v - end # The index of this series in the chart's series. # @return [Integer] @@ -73,11 +64,6 @@ module Axlsx str << '<c:idx val="' << index.to_s << '"/>' str << '<c:order val="' << (order || index).to_s << '"/>' title.to_xml_string(str) unless title.nil? - if color - str << '<c:spPr><a:solidFill>' - str << '<a:srgbClr val="' << color << '"/>' - str << '</a:solidFill></c:spPr>' - end yield str if block_given? str << '</c:ser>' end |
