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 to use the methods and properties in Spotfire.Dxp.Application.Visuals.
The next step is to "convert" the visualization object identified using the Spotfire.Dxp.Application Documents
class into a visual content object. This is achieved as follows...