From eefa2224415d6b7f0dc675b619c0452751039e6f Mon Sep 17 00:00:00 2001 From: kriddy <63463221+kriddy@users.noreply.github.com> Date: Fri, 10 Apr 2020 17:14:44 +0200 Subject: [PATCH] Add chartGroup in redrawAll() 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 https://github.com/dc-js/dc.js/issues/1498 en by changing redrawAll(); to redrawAll(chartGroup); it works again. --- src/charts/text-filter-widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charts/text-filter-widget.js b/src/charts/text-filter-widget.js index e8630b2cf..6cd1670d9 100644 --- a/src/charts/text-filter-widget.js +++ b/src/charts/text-filter-widget.js @@ -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); });