lib/axlsx/drawing/bar_chart.rb in caxlsx-3.0.1 vs lib/axlsx/drawing/bar_chart.rb in caxlsx-3.0.2

- old
+ new

@@ -1,9 +1,9 @@ # 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 # @see README for an example class BarChart < Chart @@ -47,11 +47,11 @@ # @return [Symbol] def grouping @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 @shape ||= :box end @@ -104,10 +104,10 @@ RegexValidator.validate "BarChart.gap_didth", GAP_AMOUNT_PERCENT, v @gap_depth=(v) 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 @shape = v end