Removing context from clickCallback because the data I care about can be
authorRobert Konigsberg <konigsberg@google.com>
Thu, 2 Jun 2011 20:26:38 +0000 (16:26 -0400)
committerRobert Konigsberg <konigsberg@google.com>
Thu, 2 Jun 2011 20:26:38 +0000 (16:26 -0400)
read from e.offset{X,Y}.

dygraph.js

index 1529a33..daf1086 100644 (file)
@@ -1360,7 +1360,7 @@ Dygraph.Interaction.treatMouseOpAsClick = function(g, event, context) {
 
   // TODO(danvk): pass along more info about the points, e.g. 'x'
   if (clickCallback) {
-    clickCallback(event, g.lastx_, g.selPoints_, context);
+    clickCallback(event, g.lastx_, g.selPoints_);
   }
 };