I'm looking for bar chart brushOn(false) analog for pie chart.
This code also does not work for me:
chart.renderlet (_chart) ->
_chart.selectAll(".pie-slice").on "click", (d) ->
_chart.filter null
My dc-js version is 2.0
I'm looking for bar chart brushOn(false) analog for pie chart.
This code also does not work for me:
chart.renderlet (_chart) ->
_chart.selectAll(".pie-slice").on "click", (d) ->
_chart.filter null
My dc-js version is 2.0
Share Improve this question asked Jul 16, 2014 at 14:09 rootatdarkstarrootatdarkstar 1,5262 gold badges15 silver badges27 bronze badges1 Answer
Reset to default 9According to https://groups.google./forum/#!msg/dc-js-user-group/Fxg4vykNSqI/hgdj2PEomHsJ :
pieChart.filter = function() {};
I tried this out at http://jsfiddle/djmartin_umich/3chM6/ and it seems to work as desired.