Rename unzoomGraph, remove commented-out code.
[dygraphs.git] / tests / interaction.js
index 18bc366..ab5d5f5 100644 (file)
                   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