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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -