Fixing bug on cumulative line chart where point hover circles

were not disappearing after moving the index line.
This is due to commit 065c8eb84d.
master
Robin Hu 11 years ago
parent 7f24fe8d1f
commit 3266bc369d

@ -369,7 +369,9 @@ nv.models.scatter = function() {
points.each(function(d,i) {
d3.select(this)
.classed('nv-point', true)
.classed('nv-point-' + i, true);
.classed('nv-point-' + i, true)
.classed('hover',false)
;
});
points.transition()
.attr('cx', function(d,i) { return nv.utils.NaNtoZero(x(getX(d,i))) })
@ -398,7 +400,9 @@ nv.models.scatter = function() {
points.each(function(d,i) {
d3.select(this)
.classed('nv-point', true)
.classed('nv-point-' + i, true);
.classed('nv-point-' + i, true)
.classed('hover',false)
;
});
points.transition()
.attr('transform', function(d,i) {

Loading…
Cancel
Save