Skip to content

Commit 75cec07

Browse files
committed
Fix rdoc for BarSeries#shape
1 parent 198f6b7 commit 75cec07

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/axlsx/drawing/bar_series.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ class BarSeries < Series
1515
# @return [Array, SimpleTypedList]
1616
attr_reader :labels
1717

18-
# The shabe of the bars or columns
19-
# must be one of [:percentStacked, :clustered, :standard, :stacked]
20-
# @return [Symbol]
18+
# The shape of the bars or columns
19+
# @return [Symbol] must be one of [:cone, :coneToMax, :box, :cylinder, :pyramid, :pyramidToMax]
2120
attr_reader :shape
2221

2322
# An array of rgb colors to apply to your bar chart.
@@ -41,8 +40,7 @@ def initialize(chart, options={})
4140
# @see colors
4241
def colors=(v) DataTypeValidator.validate "BarSeries.colors", [Array], v; @colors = v end
4342

44-
# The shabe of the bars or columns
45-
# must be one of [:cone, :coneToMax, :box, :cylinder, :pyramid, :pyramidToMax]
43+
# @see shape
4644
def shape=(v)
4745
RestrictionValidator.validate "BarSeries.shape", [:cone, :coneToMax, :box, :cylinder, :pyramid, :pyramidToMax], v
4846
@shape = v

0 commit comments

Comments
 (0)