From 9ec21d0ac23104544e00892196eca0129c5e504a Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Thu, 31 Mar 2011 11:38:15 -0400 Subject: [PATCH] Bug in panEdgeFraction -- release prior values so that you can unset the pan edge fraction. --- dygraph.js | 2 ++ tests/zoom.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dygraph.js b/dygraph.js index 1f188e2..be1cecb 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1161,6 +1161,8 @@ Dygraph.endPan = function(event, g, context) { context.initialLeftmostDate = null; context.dateRange = null; context.valueRange = null; + context.boundedDates = null; + context.boundedValues = null; } // Called in response to an interaction model operation that diff --git a/tests/zoom.html b/tests/zoom.html index 483a1ce..6073a33 100644 --- a/tests/zoom.html +++ b/tests/zoom.html @@ -33,7 +33,7 @@

 

-   +      

-- 2.7.4