Jump to content
We've recently updated our Privacy Statement, available here. ×

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

Sony Hejmady

Recommended Posts

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 tablealong 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.

Link to comment
Share on other sites

  • 7 months later...


You will just need to incorporate the if and else code in the bar chart script one after the other ,if you have already verified that individually both scripts work fine.

You could also create 2 functions ,one to display/hide the bar chart and the other for the table and then call them one after the other.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...