From 6589db1d131720d12f40bc46f609d9c88e21452d Mon Sep 17 00:00:00 2001 From: Neal Nelson Date: Fri, 28 Jan 2011 16:13:44 +0100 Subject: [PATCH] - Put back call to this.yAxisRanges() in doZoomY_ - Change spelling back to American in index.html --- docs/index.html | 2 +- dygraph.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index a2a2b5f..400478b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -900,7 +900,7 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high) wilsonInterval boolean true - Use in conjunction with the "fractions" option. Instead of plotting +/- N standard deviations, dygraphs will compute a Wilson confidence interval and plot that. This has more reasonable behaviour for ratios close to 0 or 1. + Use in conjunction with the "fractions" option. Instead of plotting +/- N standard deviations, dygraphs will compute a Wilson confidence interval and plot that. This has more reasonable behavior for ratios close to 0 or 1.
Tests: none
diff --git a/dygraph.js b/dygraph.js index d28fad3..b4f73c9 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1241,7 +1241,7 @@ Dygraph.prototype.doZoomY_ = function(lowY, highY) { if (this.attr_("zoomCallback")) { var xRange = this.xAxisRange(); var yRange = this.yAxisRange(); - this.attr_("zoomCallback")(xRange[0], xRange[1], yRange[0], yRange[1]); + this.attr_("zoomCallback")(xRange[0], xRange[1], this.yAxisRanges()); } }; -- 2.7.4