X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Finteraction.html;h=325926873c86374ba9621974931b796dc9c1dab9;hb=16879a6b4e206378922de67c50f67a38193d5f53;hp=e9361fde7acdc46257311a8d0c1899b58494e918;hpb=e14b35042fcba0a67878e0bafe8d4f85c82116c5;p=dygraphs.git
diff --git a/tests/interaction.html b/tests/interaction.html
index e9361fd..3259268 100644
--- a/tests/interaction.html
+++ b/tests/interaction.html
@@ -6,10 +6,12 @@
-
-
-
-
+
+
+
@@ -23,7 +25,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
@@ -51,8 +55,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,
|