X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Finteraction.html;h=6d352384eb46f09ee956bae3d01f0dbc2743c1ce;hb=93a5bb4c827d6665f395c48b216438f95e94d76e;hp=082a54eb2a709902bf4ff5faf810665bc17e20c0;hpb=885c13e45bc329818d56d375b8cac6a5a40d7c5a;p=dygraphs.git diff --git a/tests/interaction.html b/tests/interaction.html index 082a54e..6d35238 100644 --- a/tests/interaction.html +++ b/tests/interaction.html @@ -1,15 +1,16 @@ - + + interaction model - - - - - + + + + @@ -21,16 +22,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 +46,27 @@
- +