sparklines
sparklines copied to clipboard
constant data makes Sparkline.plot(:type => smooth, ...) throw FloatDomainError
This is caused by a divide-by-zero. I created a test and a fix which is in git://github.com/kim-toms/sparklines.git, in the 'fix_constant' branch.