Martin Campos Posted May 23, 2021 Share Posted May 23, 2021 I want to enable or disable the subsets for bar chart with IronPython in onecontrol botton, its possible Link to comment Share on other sites More sharing options...
Raghav Rajaram Posted May 25, 2021 Share Posted May 25, 2021 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 More sharing options...
Martin Campos Posted June 3, 2021 Author Share Posted June 3, 2021 Thank you, That works :) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now