Jump to content

Enable and disable subsets with IronPython


Martin Campos

Recommended Posts

Yes, it is possible. You could use something like:

 

vizsubsetcollection=viz.As[barChart]().Data.Subsets #viz is a script parameter referring to the BarChart for sub in vizsubsetcollection:

sub.Enabled = True # or False

 

 

Please let me know if this works.

 

 

- Raghav

Link to comment
Share on other sites

  • 2 weeks later...

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