How to display/Hide Table with Iron Python script which at present displays or hide of Bar chart visual.Script is attached for Barchart.

I have a button consisting of Iron Python Script which displays or hides  Barchart as attached with Code.This has 3 script parameteres (Type Visualizations).

Now my requirement is I need to display a table along with the Barchart where the Table is detailed info of the Barchart.Hence when I click button both Barchart and Table should display.On Next click both should hide.Please help me how to incorporate the attached Table script in attached Barchart script.

Please help me to collate the 2 attached scripts.Hence when I click a single button,it should display both barchart and Table.In another click both charts should disappear.





Plain text icon barchart_display_hide_code.txt2.49 KB
Plain text icon table_script.txt2.44 KB

(1) Answer