Added pixelRatio option to override canvas upscaling. Resolves #876, test included...
[dygraphs.git] / gallery / interaction.js
index 5936189..9dce5b7 100644 (file)
@@ -49,10 +49,6 @@ Gallery.register(
 
     },
     run: function() {
-      var lastClickedGraph;
-      // TODO(konigsberg): Add cleanup to remove callbacks.
-      Dygraph.addEvent(document, "mousewheel", function() { lastClickedGraph = null; });
-      Dygraph.addEvent(document, "click", function() { lastClickedGraph = null; });
       new Dygraph(document.getElementById("div_g"),
            NoisyData, { errorBars : true });
       new Dygraph(document.getElementById("div_g2"),