Method: Nyaplot::Diagrams::Bar#width

Defined in:
lib/nyaplot/diagram.rb

#widthNumeric

Returns the width of each bar. The specified value should be in the range 0 to 1.

Returns:

  • (Numeric)

    the width of each bar. The specified value should be in the range 0 to 1.


52
# File 'lib/nyaplot/diagram.rb', line 52

define_group_properties(:options, [:value, :x, :y, :width, :color])