Use "legend" option with "follow" value. Hide legend on deselect.
[dygraphs.git] / datahandler / bars.js
index a6b0cc5..7100148 100644 (file)
@@ -66,8 +66,8 @@ BarsHandler.prototype.onPointsCreated_ = function(series, points) {
     var point = points[i];
     point.y_top = NaN;
     point.y_bottom = NaN;
-    point.yval_minus = Dygraph.parseFloat(item[2][0]);
-    point.yval_plus = Dygraph.parseFloat(item[2][1]);
+    point.yval_minus = Dygraph.DataHandler.parseFloat(item[2][0]);
+    point.yval_plus = Dygraph.DataHandler.parseFloat(item[2][1]);
   }
 };