projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
push flashcanvas to web
[dygraphs.git]
/
tests
/
zoom.html
diff --git
a/tests/zoom.html
b/tests/zoom.html
index
1b60936
..
e76494e
100644
(file)
--- a/
tests/zoom.html
+++ b/
tests/zoom.html
@@
-1,3
+1,4
@@
+<!DOCTYPE html>
<html>
<head>
<title>zoom</title>
<html>
<head>
<title>zoom</title>
@@
-40,8
+41,8
@@
document.getElementById("div_g"),
NoisyData, {
errorBars: true,
document.getElementById("div_g"),
NoisyData, {
errorBars: true,
- zoomCallback : function(minDate, maxDate, yRanges) {
- showDimensions(minDate, maxDate, yRanges); }
+
zoomCallback : function(minDate, maxDate, yRanges) {
+ showDimensions(minDate, maxDate, yRanges);
}
}
);
}
}
);
@@
-57,8
+58,8
@@
showDimensions(minDate, maxDate, [minValue, maxValue]);
function showDimensions(minDate, maxDate, yRanges) {
showDimensions(minDate, maxDate, [minValue, maxValue]);
function showDimensions(minDate, maxDate, yRanges) {
- showXDimensions(minDate, maxDate);
- showYDimensions(yRanges);
+
showXDimensions(minDate, maxDate);
+
showYDimensions(yRanges);
}
function showXDimensions(first, second) {
}
function showXDimensions(first, second) {
@@
-82,7
+83,7
@@
g.updateOptions({
valueRange: [minValue, maxValue]
});
g.updateOptions({
valueRange: [minValue, maxValue]
});
- showYDimensions(
this.getY
Ranges());
+ showYDimensions(
g.yAxis
Ranges());
}
function unzoomGraph() {
}
function unzoomGraph() {