Fix exception when y_axis_increment is used in line bars #16

Merged
merged 1 commit into from Nov 10, 2012

Conversation

Projects
None yet
2 participants
Contributor

bhaak commented Nov 22, 2011

Setting y_axis_increment manually with a line graph will fail with this message:
gruff-0.3.6/lib/gruff/base.rb:687:in `normalize': wrong number of arguments (1 for 0) (ArgumentError)

The problem was a missing argument on normalize in the Line class. I added a test and fixed the code.

@ghost ghost assigned donv Nov 10, 2012

donv added a commit that referenced this pull request Nov 10, 2012

Merge pull request #16 from bhaak/fix_y_axis_increment
Fix exception when y_axis_increment is used in line bars

Thank you for your contribution.

@donv donv merged commit 1ef707d into topfunky:master Nov 10, 2012

@bhaak bhaak deleted the bhaak:fix_y_axis_increment branch Apr 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment