Class Gruff::Bar
In: lib/gruff/bar.rb
Parent: Gruff::Base

Methods

draw   draw_bars   new   spacing_factor=  

Attributes

bar_spacing  [RW]  Spacing factor applied between bars

Public Class methods

Public Instance methods

Can be used to adjust the spaces between the bars. Accepts values between 0.00 and 1.00 where 0.00 means no spacing at all and 1 means that each bars’ width is nearly 0 (so each bar is a simple line with no x dimension).

Default value is 0.9.

Protected Instance methods

[Validate]