Hi Marek,
Nice use of d3.slider.js - I haven't seen that used with dc.js
before.
At a quick glance, I see two problems here. First, you're using one dispatch for both sliders, so both sliders are filtering the age, since that's the dimension of the table. You'd probably want to create another dimension for filtering by height, and you don't really need to attach that to a chart.
Second, instead of just redrawing the chart with dataTable.redraw(), you probably want to call dataTable.redrawGroup() so that all charts in its chart group get redrawn, including the dataCount.
In the future, it would be helpful to put your example in a jsFiddle or bl.ock, since I'm able to see your code and make some guesses about what's going wrong, but I'm not able to fork it to test hypotheses.
Cheers,
Gordon
--
You received this message because you are subscribed to the Google Groups "dc-js user group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dc-js-user-gro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dc-js-user-group/728bde76-e5d5-44e6-b073-c4bf4f5fa555%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dc-js-user-group/241d82ba-ec68-4e7b-b081-8cdae53a5318%40googlegroups.com.