<html>
<head>
- <title>noise</title>
+ <title>zoom</title>
<!--[if IE]>
<script type="text/javascript" src="excanvas.js"></script>
<![endif]-->
</head>
<body>
<h3>Click the buttons to change the zoom level or just use the normal
- click-and drag.</h3>
+ click-and drag. While zoom typically works by click-and-drag, the
+ butons are useful for testing.</h3>
<h4>Window coordinates (in dates and values):</h4>
<div id = "dimensions"></div>
<div id="div_g" style="width:600px; height:300px;"></div>
<input type="button" value="Y (0,4)" onclick="zoomGraphY(0,4)">
<input type="button" value="Y (2,4)" onclick="zoomGraphY(2,4)">
<input type="button" value="Y (0,2)" onclick="zoomGraphY(0,2)">
- <input type="button" value="Y (1,0)" onclick="zoomGraphY(1,0)">
+ <input type="button" value="Y (0,1)" onclick="zoomGraphY(0,1)">
<br>
<input type="button" value="Oct 8-13" onclick="zoomGraphX(1160261979962, 1163905694248)">
<input type="button" value="Oct 22-28" onclick="zoomGraphX(1161489164461 , 1162008465957)">
g = new Dygraph(
document.getElementById("div_g"),
NoisyData, {
- zoomCallback : function(a,b,c,d) { showDimensions(a,b,c,d); }
+ zoomCallback : function(a,b,c,d) { showDimensions(a,b,c,d); },
}
);