X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2Finteraction.html;h=a9b99c16b399941bb01fd49c50fd250cb871b7e4;hb=514a10f302043e48459a79806775b6925dc9a7b5;hp=8389ae7ba1a64a9420ce8e9b7375cf94e8b6ed55;hpb=7e5ddc9488079169a4311f870727043b5216a81e;p=dygraphs.git
diff --git a/tests/interaction.html b/tests/interaction.html
index 8389ae7..a9b99c1 100644
--- a/tests/interaction.html
+++ b/tests/interaction.html
@@ -1,16 +1,12 @@
-
interaction model
-
-
+
@@ -25,7 +21,9 @@
No interaction model
- | Click and drag all you like, it won't do anything! |
+ Click and drag all you like, it won't do anything!
+
+ |
Custom interaction model
@@ -53,8 +51,13 @@
Dygraph.addEvent(document, "click", function() { lastClickedGraph = null; });
var g = new Dygraph(document.getElementById("div_g"),
NoisyData, { errorBars : true });
+ var s = document.getElementById("g2_console");
var g2 = new Dygraph(document.getElementById("div_g2"),
- NoisyData, { errorBars : true, interactionModel : {} });
+ NoisyData,
+ {
+ errorBars : true,
+ interactionModel: {}
+ });
var g3 = new Dygraph(document.getElementById("div_g3"),
NoisyData, { errorBars : true, interactionModel : {
'mousedown' : downV3,
|