From 7f980dc27307d0b76fb8dc2ba736ef6aac10fd3e Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sat, 28 Apr 2012 11:54:02 +0900 Subject: color needs to be delegated to the concrete series. --- lib/axlsx/drawing/series.rb | 14 -------------- 1 file changed, 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 << '' str << '' title.to_xml_string(str) unless title.nil? - if color - str << '' - str << '' - str << '' - end yield str if block_given? str << '' end -- cgit v1.2.3