how can I do nested drop downs in category filter?

47 views
Skip to first unread message

dunba...@gmail.com

unread,
Sep 15, 2015, 1:35:51 PM9/15/15
to Google Visualization API
Suppose I have five topic categories, and I want to put them in a drop down each selection of which creates a new child drop down, and each of these are Google control wrapper category filters connected to a data table and chart wrapper. How do I do that? 

samuel.ma...@bbva.com

unread,
Sep 15, 2015, 2:25:49 PM9/15/15
to Google Visualization API
It would be awesome if you find out how to do this. Please share you are.

Thank you

Jean-Rémi Delteil

unread,
Sep 15, 2015, 8:59:50 PM9/15/15
to Google Visualization API
you can do that with dependent filters:

'For advanced usages, you can also bind controls to other controls to establish chains of dependencies.'

dashboard.bind(countryPicker, regionPicker).bind(regionPicker, cityPicker);

Find the documentation here:
https://developers.google.com/chart/interactive/docs/gallery/controls#6-establish-dependencies

at the end of the part 6

If you chain category filters you will have the desired result.

Reply all
Reply to author
Forward
0 new messages