I've set up a small dc.js dashboard with a pie chart representing different experiments to select, a series chart representing the experiment results, and associated range chart for the results. The range chart correctly updates the series chart and similarly, the pie chart correctly updates the series chart. However, the range chart and the pie chart don't seem to want to play nice with one another. When I set filter the range in the range chart, the pie chart goes empty.
I've made a jsfiddle here: https://jsfiddle.net/nwhite/zb1xf0cu/132/
Ideally, I could select 2 or so experiments with the pie chart and then use the range chart to zoom in on areas of interest. But when I apply the range filter, the pie chart disappears.
Both the series chart and range chart use the same dimension (runDimension) and group (runGroup), while the pie chart uses exptDimension and exptGroup:
ndx = crossfilter(experiments);
runDimension = ndx.dimension(function(d) {return [+d.Expt, +d.Run]; });
runGroup = runDimension.group().reduceSum(function(d) { return +d.Speed; });
exptDimension = ndx.dimension(function(d) {return +d.Expt; });
exptGroup = exptDimension.group();