Fix wrong values in legend when using stackedGraph with missing values
authorVladimir Sitnikov <sitnikov.vladimir@gmail.com>
Sun, 24 Feb 2013 20:31:19 +0000 (00:31 +0400)
committerVladimir Sitnikov <sitnikov.vladimir@gmail.com>
Sun, 24 Feb 2013 20:31:19 +0000 (00:31 +0400)
commit907121a86d47058a4149671ea8b8ddcc5db23c4e
tree932fc1f1c582d03ce831c18f726573b6999d68ff
parent745e9e52bf0c9fe1eec18ad64d76787419b033f4
Fix wrong values in legend when using stackedGraph with missing values
Consider all the series when searching previous stacked one and use Dygraph.isValidPoint to validate the point (not just !yval)
See http://jsfiddle.net/6W7EQ/2/
auto_tests/tests/stacked.js
dygraph-layout.js