Fix flaky testCustomBarsWithNegativeValuesInLogScale. DygraphLayout._calcYNormal...
authorPaul Holden <paul.holden@gmail.com>
Fri, 27 Sep 2013 07:35:38 +0000 (08:35 +0100)
committerPaul Holden <paul.holden@gmail.com>
Fri, 27 Sep 2013 07:47:25 +0000 (08:47 +0100)
commitb7ec6c55209b94bde3ce07d783bfd885a57ad761
treeb55dd9eb342ce42c75c20c1d7cfb36c0ee63dfec
parentd4cddccad228502ef3c2c7096c36cbb323760a7d
Fix flaky testCustomBarsWithNegativeValuesInLogScale. DygraphLayout._calcYNormal(axis, NaN, logscale) initially returns NaN, but after it gets jitted it starts returning Infinity. Some of the downstream code doesn't handle this eventuality.
dygraph-canvas.js
dygraph-layout.js