+<!DOCTYPE html>
<html>
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>zoom</title>
<!--[if IE]>
<script type="text/javascript" src="../excanvas.js"></script>
<br> <br>
<input type="button" value="Unzoom" onclick="unzoomGraph()">
<br> <br>
- <input type="button" value="pan frame 0" onclick="panFrame(0)">
- <input type="button" value="pan frame 0.1" onclick="panFrame(0.1)">
- <input type="button" value="pan frame 0.5" onclick="panFrame(0.5)">
+ <input type="button" value="pan frame 0" onclick="panEdgeFraction(0)">
+ <input type="button" value="pan frame 0.1" onclick="panEdgeFraction(0.1)">
+ <input type="button" value="pan frame 0.5" onclick="panEdgeFraction(0.5)">
</p>
});
}
- function panFrame(value) {
- g.updateOptions({ panFrame : value });
+ function panEdgeFraction(value) {
+ g.updateOptions({ panEdgeFraction : value });
}
</script>