General
Note
In each of the scripts below, it is assumed that the MyVis variable references the targeted visualization. See here for more information about referencing visualizations.
Change Treemap General Tab Options:
This IronPython script shows how to change the following:
- Show (or hide) the title
- Change the title
- Show (or hide) the description
- Change the description
from Spotfire.Dxp.Application.Visuals import *
# 1. Show (or hide) the title
myVis.ShowTitle = True
# For other properties, first get myVis as a Visualization
myVis = myVis.As[Visualization]()
# 2. Change the title
myVis.Title = 'My New Title'
# 3. Show (or hide) the description
myVis.ShowDescription = True
# 4. Change the description
myVis.Description = 'My New Description'
Welcome!
The purpose of this website is to provide a comprehensive, accurate, and efficient IronPython reference for Spotfire developers.