Open gordonwoodhull opened 6 years ago
I think the situation has gotten even weirder in 3.0: since we consistently apply the filter in the parent and all children, the handler must be overridden in the child charts as well, e.g.:
.chart(function(c) { return dc.lineChart(c).curve(d3.curveCardinal).filterHandler(seriesFilter); })
Demo fiddle: https://jsfiddle.net/gordonwoodhull/zvnhcwpk/16/
https://stackoverflow.com/questions/51421943/pie-chart-not-updating-properly-when-using-brush-in-series-chart
The
RangedFilter
expects to receive raw X values, but it's receiving arrays (usually).A messy way to fix it for the common case where the key is just a composite:
But if we insist that the key must be a composite of series and key, then
keyAccessor
andseriesAccessor
should not be as general as they are now.