summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKoza <[email protected]>2019-12-17 15:04:34 +0100
committerStefan Daschek <[email protected]>2019-12-17 17:20:35 +0100
commit5cfccd88eba0f38d6576e44de7e0aa4c41f55f83 (patch)
tree6f91776f0ec0e5d9b37eeb68c0f29fa50011f196
parent5d3f4a9b0f8c9474459e174cf22aeb8252f444ab (diff)
downloadcaxlsx-5cfccd88eba0f38d6576e44de7e0aa4c41f55f83.tar.gz
caxlsx-5cfccd88eba0f38d6576e44de7e0aa4c41f55f83.zip
Fix typos in BarChart comments
-rw-r--r--lib/axlsx/drawing/bar_chart.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/axlsx/drawing/bar_chart.rb b/lib/axlsx/drawing/bar_chart.rb
index 7efd0ec5..e9af9400 100644
--- a/lib/axlsx/drawing/bar_chart.rb
+++ b/lib/axlsx/drawing/bar_chart.rb
@@ -1,7 +1,7 @@
# encoding: UTF-8
module Axlsx
- # The BarChart is a three dimentional barchart (who would have guessed?) that you can add to your worksheet.
+ # The BarChart is a two dimentional barchart that you can add to your worksheet.
# @see Worksheet#add_chart
# @see Chart#add_series
# @see Package#serialize
@@ -49,7 +49,7 @@ module Axlsx
@grouping ||= :clustered
end
- # The shabe of the bars or columns
+ # The shape of the bars or columns
# must be one of [:cone, :coneToMax, :box, :cylinder, :pyramid, :pyramidToMax]
# @return [Symbol]
def shape
@@ -106,7 +106,7 @@ module Axlsx
end
alias :gapDepth= :gap_depth=
- # The shabe of the bars or columns
+ # The shape of the bars or columns
# must be one of [:cone, :coneToMax, :box, :cylinder, :pyramid, :pyramidToMax]
def shape=(v)
RestrictionValidator.validate "BarChart.shape", [:cone, :coneToMax, :box, :cylinder, :pyramid, :pyramidToMax], v