<tr><td>
<b>Custom interaction model</b>
- <input type="button" value="Unzoom" onclick="unzoomGraph(g3)">
+ <input type="button" value="Restore position" onclick="restorePositioning(g3)">
<div id="div_g3" style="width:600px; height:300px;"></div>
</td><td>
Zoom in: double-click, scroll wheel<br/>
return;
}
}
- // drawV4(false, canvasx, canvasy);
}
}
- // drawV4(false, canvasx, canvasy);
}
}
}
function dblClickV4(event, g, context) {
- unzoomGraph(g4);
+ restorePositioning(g4);
}
function drawV4(x, y) {
v4Canvas = canvas;
}
- function unzoomGraph(g) {
+ function restorePositioning(g) {
g.updateOptions({
dateWindow: null,
valueRange: null