Fix yRangePad for logscale graphs, add tests.
authorKlaus Weidner <klausw@google.com>
Tue, 1 Mar 2016 21:57:05 +0000 (13:57 -0800)
committerKlaus Weidner <klausw@google.com>
Tue, 1 Mar 2016 22:00:37 +0000 (14:00 -0800)
commitf1d5ee3e25241c0cbc194d5f300f2b025f92f777
treebeb15508f669c65f14b1dd4137364851f5f2fcaf
parent3b196163552cb25ae554ac48a20fe3131bee5dd1
Fix yRangePad for logscale graphs, add tests.

Also includes a minor refactor to consolidate duplicated code for
toDataCoord calculations on logscale axes.

Fixes issue #661.
auto_tests/tests/axis_labels.js
auto_tests/tests/range_tests.js
auto_tests/tests/to_dom_coords.js
src/dygraph-utils.js
src/dygraph.js