Permalink
Browse files

Fixed logCeil on quantitative.rb:362

  • Loading branch information...
1 parent 6c80cad commit b72eef242b59528ded7ddb4687b5a5f7889967fe @clbustos committed Mar 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rubyvis/scale/quantitative.rb
@@ -359,7 +359,7 @@ def ticks(m=nil) # :args: (number_of_ticks=nil)
step = (n > 1000) ? 250 : ((n > 200) ? 100 : ((n > 100) ? 50 : ((n > 50) ? 25 : 5)));
date.setMilliseconds(Math.floor(date.getMilliseconds() / step) * step);
else
- step = Rubyvis.logCeil(n / 15, 10);
+ step = Rubyvis.log_ceil(n / 15, 10);
if (n / step < 2)
step =step.quo(5)
elsif (n / step < 5)
@@ -441,4 +441,4 @@ def by(f)
end
-end
+end

0 comments on commit b72eef2

Please sign in to comment.