X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Finteraction.html;h=325926873c86374ba9621974931b796dc9c1dab9;hb=b1a3b195f92497b7dd659171af60fa46c93c50c2;hp=17911a42e67ed630b29b80e5ea53b2b24f9d6008;hpb=9d10bca392d2da90786acb16e318c0017063b36a;p=dygraphs.git
diff --git a/tests/interaction.html b/tests/interaction.html
index 17911a4..3259268 100644
--- a/tests/interaction.html
+++ b/tests/interaction.html
@@ -1,13 +1,17 @@
+
+
interaction model
-
-
-
-
+
+
+
@@ -21,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
@@ -49,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,
|