X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Finteraction.html;h=37e18463d9fb6559461820a5d8bdef73a94273e1;hb=fd6b8dadbaa0614671bef1508c23d6a932e25081;hp=082a54eb2a709902bf4ff5faf810665bc17e20c0;hpb=885c13e45bc329818d56d375b8cac6a5a40d7c5a;p=dygraphs.git diff --git a/tests/interaction.html b/tests/interaction.html index 082a54e..37e1846 100644 --- a/tests/interaction.html +++ b/tests/interaction.html @@ -1,15 +1,12 @@ - + + interaction model - - - - - + + + @@ -21,16 +18,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 +42,27 @@
- +