giuseppe valenti Posted January 2, 2023 Share Posted January 2, 2023 Hello,i am just beginning to use ironPython,can someone suggest me how to show/hide labels on a BarChart by clicking a button(text area)? Moreover,do you know some basic tutorial for ironpython? Link to comment Share on other sites More sharing options...
Gaia Paolini Posted January 3, 2023 Share Posted January 3, 2023 There are resources on the TIBCO Community:https://community.spotfire.com/s/article/IronPython-Scripting-in-TIBCO-SpotfireThis one in particular should help answer your question:https://www.sf-ref.com/ironpython/visualizations/bar-chart/general/ Link to comment Share on other sites More sharing options...
giuseppe valenti Posted January 3, 2023 Author Share Posted January 3, 2023 Thank you very much,honestly i have had some problem at the beginning. There is some confusion where to set the script parameter as visualization type,anyway i solved the issue.#run_scriptfrom Spotfire.Dxp.Application.Visuals import *if myVis.LabelVisibility == LabelVisibility.All: myVis.LabelVisibility = LabelVisibility.Noneelse: myVis.LabelVisibility=LabelVisibility.AllI put an image below so if someone read could be more clear.Honestly i must said that the resource for ironpython scripting is not very easy for beginners,i suggest a more basic training...I found this online that could be useful: ThanksGiuseppe 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