attempting to fix random bug woth stacked area paths on removal

master-patched
Bob Monteverde 12 years ago
parent b4ca744451
commit ea597f30e1

@ -6137,7 +6137,7 @@ nv.models.stackedArea = function() {
});
})
d3.transition(path.exit())
.attr('d', function(d,i) { return zeroArea(d.values,i) })
//.attr('d', function(d,i) { return zeroArea(d.values,i) }) // TODO: fix this so transition is still fluid
.remove();
path
.style('fill', function(d,i){ return color[i % 20] })

4
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -145,7 +145,7 @@ nv.models.stackedArea = function() {
});
})
d3.transition(path.exit())
.attr('d', function(d,i) { return zeroArea(d.values,i) })
//.attr('d', function(d,i) { return zeroArea(d.values,i) }) // TODO: fix this so transition is still fluid
.remove();
path
.style('fill', function(d,i){ return color[i % 20] })

Loading…
Cancel
Save