Gah, another piece of code missing. Fixed.
authorRobert Konigsberg <konigsberg@google.com>
Tue, 25 Jan 2011 17:23:38 +0000 (12:23 -0500)
committerRobert Konigsberg <konigsberg@google.com>
Tue, 25 Jan 2011 17:23:38 +0000 (12:23 -0500)
dygraph.js

index 6ab7606..45ccd7b 100644 (file)
@@ -397,6 +397,7 @@ Dygraph.prototype.toDomYCoord = function(y, axis) {
   if (pct == null) {
     return null;
   }
+  var area = this.plotter_.area;
   return area.y + pct * area.h;
 }