Better name (thanks Paul.)
[dygraphs.git] / dygraph.js
index a97dafe..c867c66 100644 (file)
@@ -1463,7 +1463,7 @@ Dygraph.prototype.doZoomY_ = function(lowY, highY) {
  * Reset the zoom to the original view coordinates. This is the same as
  * double-clicking on the graph.
  */
-Dygraph.prototype.restoreZoom = function() {
+Dygraph.prototype.resetZoom = function() {
   var dirty = false, dirtyX = false, dirtyY = false;
   if (this.dateWindow_ !== null) {
     dirty = true;