Class: Gruff::BarConversion

Inherits:
Object
  • Object
show all
Defined in:
lib/gruff/helper/bar_conversion.rb

Overview

Original Author: David Stokar

This class performs the y coordinates conversion for the bar class.

There are three cases:

1. Bars all go from zero in positive direction
2. Bars all go from zero to negative direction
3. Bars either go from zero to positive or from zero to negative