From: Robert Konigsberg Date: Thu, 31 Mar 2011 15:38:15 +0000 (-0400) Subject: Bug in panEdgeFraction -- release prior values so that you can unset the pan edge... X-Git-Tag: v1.0.0~536^2~7^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=9ec21d0ac23104544e00892196eca0129c5e504a;p=dygraphs.git Bug in panEdgeFraction -- release prior values so that you can unset the pan edge fraction. --- 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 @@

 

-   +