Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions d3.parcoords.js
Original file line number Diff line number Diff line change
Expand Up @@ -1213,9 +1213,13 @@ pc.brushMode = function(mode) {
.transition()
.duration(0)
.call(brush);

//fire some events
brush.event(brushSelections[d]);
}
});

//now all brush extents have been updated: fire some events
d3.keys(brushes).forEach(function(d) {
if (brushes[d] !== undefined || extents[d] === undefined) {
brushes[d].event(brushSelections[d]);
}
});

Expand Down Expand Up @@ -1751,9 +1755,13 @@ pc.brushMode = function(mode) {
.transition()
.duration(0)
.call(brush);

//fire some events
brush.event(brushSelections[d]);
}
});

//now all brush extents have been updated: fire some events
d3.keys(brushes).forEach(function(d) {
if (brushes[d] !== undefined || extents[d] === undefined) {
brushes[d].event(brushSelections[d]);
}
});

Expand Down
10 changes: 7 additions & 3 deletions src/brushes/1D.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,13 @@
.transition()
.duration(0)
.call(brush);

//fire some events
brush.event(brushSelections[d]);
}
});

//now all brush extents have been updated: fire some events
d3.keys(brushes).forEach(function(d) {
if (brushes[d] !== undefined || extents[d] === undefined) {
brushes[d].event(brushSelections[d]);
}
});

Expand Down
10 changes: 7 additions & 3 deletions src/brushes/1D.multi.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,13 @@
.transition()
.duration(0)
.call(brush);

//fire some events
brush.event(brushSelections[d]);
}
});

//now all brush extents have been updated: fire some events
d3.keys(brushes).forEach(function(d) {
if (brushes[d] !== undefined || extents[d] === undefined) {
brushes[d].event(brushSelections[d]);
}
});

Expand Down