Skip to content

Commit

Permalink
Use rangeChart namespace for filtered event listener
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlbyk committed Apr 9, 2018
1 parent ac36600 commit 7a86da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coordinate-grid-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ dc.coordinateGridMixin = function (_chart) {
return _focusChart;
}
_focusChart = c;
_chart.on('filtered', function (chart) {
_chart.on('filtered.rangeChart', function (chart) {
if (!chart.filter()) {
dc.events.trigger(function () {
_focusChart.x().domain(_focusChart.xOriginalDomain(), true);
Expand Down

0 comments on commit 7a86da1

Please sign in to comment.