Skip to content

Commit

Permalink
Add chartGroup in redrawAll()
Browse files Browse the repository at this point in the history
It took me some time to figure out why the text filter wasn't working anymore and then I remembered that I recently added groups to the charts. After some google magic I found dc-js#1498 en by changing redrawAll(); to redrawAll(chartGroup); it works again.
  • Loading branch information
kriddy authored Apr 10, 2020
1 parent 34474b2 commit eefa222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charts/text-filter-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class TextFilterWidget extends BaseMixin {
this._input.on('input', function () {
chart.dimension().filterFunction(chart._filterFunctionFactory(this.value));
events.trigger(() => {
redrawAll();
redrawAll(chartGroup);
}, constants.EVENT_DELAY);
});

Expand Down

0 comments on commit eefa222

Please # to comment.