X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Finteraction.html;h=325926873c86374ba9621974931b796dc9c1dab9;hb=e03f3a93d45459a9748050d1d38149494975b3d9;hp=082a54eb2a709902bf4ff5faf810665bc17e20c0;hpb=885c13e45bc329818d56d375b8cac6a5a40d7c5a;p=dygraphs.git diff --git a/tests/interaction.html b/tests/interaction.html index 082a54e..3259268 100644 --- a/tests/interaction.html +++ b/tests/interaction.html @@ -1,15 +1,19 @@ - + + interaction model - - - - + + + + @@ -21,16 +25,19 @@ +
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 - +
Zoom in: double-click, scroll wheel
Zoom out: ctrl-double-click, scroll wheel
- Pan: click-drag
+ Standard Zoom: shift-click-drag + Standard Pan: click-drag
Restore zoom level: press button
@@ -42,155 +49,25 @@
- +