X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fis-zoomed-ignore-programmatic-zoom.html;h=bcd6f44f2a74645badc96da1314c02d8883011d4;hb=e79c8bec6d181f70521450a22b5174a41495ec9b;hp=7b2629e90ade8ae09b9e2295237b11dd49f30880;hpb=e5152598cf72fb46c396f79edebc68e9fb4fec73;p=dygraphs.git diff --git a/tests/is-zoomed-ignore-programmatic-zoom.html b/tests/is-zoomed-ignore-programmatic-zoom.html index 7b2629e..bcd6f44 100644 --- a/tests/is-zoomed-ignore-programmatic-zoom.html +++ b/tests/is-zoomed-ignore-programmatic-zoom.html @@ -1,167 +1,170 @@ -
-
- By default, when the dateWindow
or updateOptions
- of a chart is changed programmatically by a call to updateOptions
- the zoomed flags (isZoomed
) are changed. This is the same
- as manually zooming in using the mouse.
-
+ By default, when the dateWindow
or updateOptions
+ of a chart is changed programmatically by a call to updateOptions
+ the zoomed flags (isZoomed
) are changed. This is the same
+ as manually zooming in using the mouse.
+
+ Sometimes it may be desirable to change the display of the chart by
+ manipulating the dateWindow
and valueRange
+ options but without changing the zoomed flags, for example where manual
+ zooming is still required but where it is also desired that the zoomed
+ flags drive display elements, but only for manual zooming.
+
+ In this case isZoomedIgnoreProgrammaticZoom
may be specified along with
+ either the dateWindow
or valueRange
values to
+ updateOptions
and the zoomed flags will remain unaffected.
+
+ The chart below may be manipulated to change the updateOptions
+ using the Max and Min Y axis buttons and the dateWindow
+ by using the Max and Min X axis buttons.
+
+ Toggle the check box below to determine the difference in operation of the zoom flags + when the date and value windows of the chart are changed using the arrows underneath. +
+Do not change zoom flags (isZoomedIgnoreProgrammaticZoom
)
- Sometimes it may be desirable to change the display of the chart by
- manipulating the dateWindow
and valueRange
- options but without changing the zoomed flags, for example where manual
- zooming is still required but where it is also desired that the zoomed
- flags drive display elements, but only for manual zooming.
+ Max Y Axis:
+
+
- In this case isZoomedIgnoreProgrammaticZoom
may be specified along with
- either the dateWindow
or valueRange
values to
- updateOptions
and the zoomed flags will remain unaffected.
+ Min Y Axis:
+
+
- The chart below may be manipulated to change the updateOptions
- using the Max and Min Y axis buttons and the dateWindow
- by using the Max and Min X axis buttons.
+ Min X Axis:
+
+
- Toggle the check box below to determine the difference in operation of the zoom flags - when the date and value windows of the chart are changed using the arrows underneath. + Max X Axis: + +
-Do not change zoom flags (isZoomedIgnoreProgrammaticZoom
)
- Max Y Axis: - - -
-- Min Y Axis: - - -
-- Min X Axis: - - -
-- Max X Axis: - - -
-Zoomed: False
-Zoomed X: False
-Zoomed Y: False
-Zoomed: False
+Zoomed X: False
+Zoomed Y: False
+