X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2Finteraction.html;h=325926873c86374ba9621974931b796dc9c1dab9;hb=c97b87c282caf695bc7dea62a4668e491b165ad7;hp=8389ae7ba1a64a9420ce8e9b7375cf94e8b6ed55;hpb=bbfb84f2a5e0fbb5259fab16f0785a5806c5bf8d;p=dygraphs.git
diff --git a/tests/interaction.html b/tests/interaction.html
index 8389ae7..3259268 100644
--- a/tests/interaction.html
+++ b/tests/interaction.html
@@ -25,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
@@ -53,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,
|