lib/lilygraph.rb in lilygraph-0.5.3 vs lib/lilygraph.rb in lilygraph-0.5.4

- old
+ new

@@ -297,10 +297,10 @@ def division [(10 ** Math.log10(data_max).floor), 1].max end def max - (((data_max + (division / 10)) / Float(division)).ceil * Float(division)).round + (((data_max + [division / 10, 1].max) / Float(division)).ceil * Float(division)).round end def graph_height @options[:viewbox][:height] - (@options[:margin][:top] + @options[:margin][:bottom]) end