var zoomHandleStatus = self.getZoomHandleStatus_();
self.isChangingRange_ = true;
if (!zoomHandleStatus.isZoomed) {
- self.dygraph_.restoreZoom();
+ self.dygraph_.resetZoom();
} else {
var xDataWindow = toXDataWindow(zoomHandleStatus);
self.dygraph_.doZoomXDates_(xDataWindow[0], xDataWindow[1]);
* 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;