Domanda

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

È stato utile?

Soluzione

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"
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top