Jump to content

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?


giuseppe valenti

Recommended Posts

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_script

from Spotfire.Dxp.Application.Visuals import *

if myVis.LabelVisibility == LabelVisibility.All:

  myVis.LabelVisibility = LabelVisibility.None

else:

  myVis.LabelVisibility=LabelVisibility.All

I 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:

details_label_visibility.thumb.jpg.ff3c5a7def40af26ff0a3f47f1db7abe.jpgThanks

Giuseppe

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