summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/bar_series.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-07-08 11:17:34 +0900
committerRandy Morgan <[email protected]>2012-07-08 11:17:34 +0900
commite121fe875ac8492dcd36ba71993e00b2eb4a9ed0 (patch)
tree44565e79bd648ae59b56e219a82bf118b6a9a4dc /lib/axlsx/drawing/bar_series.rb
parent88fd4fc68c0052df556c4c51bf75ed0a0e3ba7f9 (diff)
downloadcaxlsx-e121fe875ac8492dcd36ba71993e00b2eb4a9ed0.tar.gz
caxlsx-e121fe875ac8492dcd36ba71993e00b2eb4a9ed0.zip
parsing out shape for bar series
Diffstat (limited to 'lib/axlsx/drawing/bar_series.rb')
-rw-r--r--lib/axlsx/drawing/bar_series.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/drawing/bar_series.rb b/lib/axlsx/drawing/bar_series.rb
index 9a528dda..d85345c9 100644
--- a/lib/axlsx/drawing/bar_series.rb
+++ b/lib/axlsx/drawing/bar_series.rb
@@ -64,8 +64,8 @@ module Axlsx
@labels.to_xml_string(str_inner) unless @labels.nil?
@data.to_xml_string(str_inner) unless @data.nil?
- # looking at the output from excel - this may not be needed
- # str_inner << '<c:shape val="' << shape.to_s << '"></c:shape>'
+ # this is actually only required for shapes other than box
+ str_inner << '<c:shape val="' << shape.to_s << '"></c:shape>'
end
end