javascript - Is it possible to get the filters applied on a particular dimension? -
is possible filters applied on particular dimension? need obtain filters applied on group of dc.js charts on click of button.
i did similar. instead of using button click getting values each time chart filtered attaching renderlet.
the function looking filters()
i.e
yourchart.renderlet(function(chart) { dc.events.trigger(function() { console.log(yourchart.filters()) }); })
this log filters applied dimension given chart.
Comments
Post a Comment