X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fis-zoomed.html;h=8af04ccd7c8797a433b99c14c36e8408508d2d16;hb=00eebc92ec7d1846599bf233dbc63b9ea3ac3095;hp=e074527b08ee7f7d57a7d7b5aede47815fb2d73e;hpb=25ca4e1c935157d4ab13aacd1b8dae327fa0b14e;p=dygraphs.git diff --git a/tests/is-zoomed.html b/tests/is-zoomed.html index e074527..8af04cc 100644 --- a/tests/is-zoomed.html +++ b/tests/is-zoomed.html @@ -1,11 +1,8 @@
-'x'
or 'y'
and it will report the status of just that axis.
-
+
Here's a simple example using drawCallback
to display the various zoom states whenever the chart is zoomed:
The Tests for zoom operations show a full example of this in action.
- -
- When a chart is programmatically zoomed by updating either the dateWindow
- or valueRange
option, by default the zoomed flags are also updated correspondingly.
- It is possible to prevent this by specifying the isZoomedIgnoreProgrammaticZoom
in the same
- call to the updateOptions
method.
-
- The is-zoomed-ignore-programmatic-zoom test shows this in operation. -