dc.js icon indicating copy to clipboard operation
dc.js copied to clipboard

Faster dc.filterAll()

Open ehansis opened this issue 9 years ago • 2 comments

Fixes #1322

ehansis avatar Jul 24 '17 20:07 ehansis

This looks good to me, but why is it necessary to call .filter(0) on all of those charts in the tests?

gordonwoodhull avatar Jul 24 '17 21:07 gordonwoodhull

In charts w/ grouping, the tests check that chart.filterAll() is called or not called on a chart depending on its chart group. Since the modified dc.filterAll() only calls chart.filterAll() on charts that have a filter set, we need to set a filter on each chart to do a meaningful test.

ehansis avatar Jul 25 '17 20:07 ehansis