diff options
| author | Randy Morgan <[email protected]> | 2012-04-28 11:54:58 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-04-28 11:54:58 +0900 |
| commit | a7e9549a48f3ea61ff8a596307dc3a0e4d5876f8 (patch) | |
| tree | 912b6de21760d0a47d699b8d2961913c1cd6d3f8 /lib/axlsx/drawing/pie_series.rb | |
| parent | 7f980dc27307d0b76fb8dc2ba736ef6aac10fd3e (diff) | |
| download | caxlsx-a7e9549a48f3ea61ff8a596307dc3a0e4d5876f8.tar.gz caxlsx-a7e9549a48f3ea61ff8a596307dc3a0e4d5876f8.zip | |
support for specifying the colors to use for data series in charts.
Diffstat (limited to 'lib/axlsx/drawing/pie_series.rb')
| -rw-r--r-- | lib/axlsx/drawing/pie_series.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/pie_series.rb b/lib/axlsx/drawing/pie_series.rb index 7e518886..13f3cd5d 100644 --- a/lib/axlsx/drawing/pie_series.rb +++ b/lib/axlsx/drawing/pie_series.rb @@ -33,7 +33,7 @@ module Axlsx @colors = [] super(chart, options) self.labels = CatAxisData.new(options[:labels]) unless options[:labels].nil? - self.data = ValAxisData.new(options[:data]) unless options[:data].nil? + self.data = NamedAxisData.new(:val, options[:data]) unless options[:data].nil? end # @see colors |
