Attempting to fix Issue #198

master-patched
Bob Monteverde 12 years ago
parent 7d584841cd
commit 37db189a52

@ -3350,6 +3350,7 @@ nv.models.line = function() {
//.y1(function(d,i) { return y0(0) }) //assuming 0 is within y domain.. may need to tweak this
.apply(this, [d.values])
});
areaPaths.exit().remove(); // attempting to fix issue #198
d3.transition(groups.exit().selectAll('path.nv-area'))
.attr('d', function(d) {
return d3.svg.area()

8
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -138,6 +138,7 @@ nv.models.line = function() {
//.y1(function(d,i) { return y0(0) }) //assuming 0 is within y domain.. may need to tweak this
.apply(this, [d.values])
});
areaPaths.exit().remove(); // attempting to fix issue #198
d3.transition(groups.exit().selectAll('path.nv-area'))
.attr('d', function(d) {
return d3.svg.area()

Loading…
Cancel
Save