Question

How can I change TreeMap properties(Hierarchy, Size by) using ironpython script in spotfire.

Was it helpful?

Solution

I found the solution:

from Spotfire.Dxp.Application.Visuals import Treemap
treeChart = vis.As[Treemap]()
vis.Title="tree map title"
treeChart.Data.DataTableReference = "Your Expression"
treeChart.ColorAxis.Expression = "Your Expression"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top