projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added pixelRatio option to override canvas upscaling. Resolves #876, test included...
[dygraphs.git]
/
gallery
/
interaction.js
diff --git
a/gallery/interaction.js
b/gallery/interaction.js
index
5936189
..
9dce5b7
100644
(file)
--- a/
gallery/interaction.js
+++ b/
gallery/interaction.js
@@
-49,10
+49,6
@@
Gallery.register(
},
run: function() {
},
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"),
new Dygraph(document.getElementById("div_g"),
NoisyData, { errorBars : true });
new Dygraph(document.getElementById("div_g2"),