-
vizulyJuly 6, 2016 at 10:23 am #6318
Hello TN,
There are several ways you could this with javascript. But there is nothing specific you have to do with vizuly. Just use any of the same techniques you would use with any other web application.
One quick and easy way would be to create another vi_container and related visualization, and use the drop down to toggle the visibility and loading of data of both containers and related visualizations.
– Tom
naruka17August 9, 2016 at 11:15 am #6366I have implemented similar logic.
steps
1. Create options (ddl) with database or csv file names
2. using jquery/javascript get the selected value from option
3. pass file name as parameter in loaddata() method like loadData(fileName)
4. inside loaddata() method change filename with selected valuePlease note you have to clear “viz-container” div on every selection otherwise it will create new div on same page. to make it use $(divname).empty();
thanks
Chetan -
|
You must be logged in to reply to this topic.