remove wrong argument of parseFloat
authormanufitoussi <manu.fitoussi@gmail.com>
Wed, 30 Jan 2013 13:54:40 +0000 (14:54 +0100)
committermanufitoussi <manu.fitoussi@gmail.com>
Wed, 30 Jan 2013 13:54:40 +0000 (14:54 +0100)
dygraph.js

index f123488..4b291f1 100644 (file)
@@ -2498,7 +2498,7 @@ Dygraph.prototype.axisPropertiesForSeries = function(series) {
 Dygraph.prototype.computeYAxisRanges_ = function(extremes) {
   
   var isUnspecifiedLimit = function(num) {
-    return isNaN(parseFloat(num, 10));
+    return isNaN(parseFloat(num));
   };
   var series;
   var numAxes = this.attributes_.numAxes();