How to manipulate visualization properties

There are many reasons why you might want to manipulate visualization properties, not least to provide a more dynamic experience for the user. Visualization properties are manipulated using the Spotfire.Dxp.Application.Visuals namespace. This namespace is very large and includes some generic classes for manipulating items such as axes and then specific classes for each visualization type. Regardless of which class you wish to use, you must first find a visualization's object reference, as described in the previous main section. To recap:

for page in Document.Pages:
  for visualization in page.Visuals:

Only when you have identified the visualization you are interested in (by name or type usually) are you ready ...

Get TIBCO Spotfire – A Comprehensive Primer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.