如何在spotfire中使用ironpython脚本更改TreeMap属性(Hierarchy,Size by)。
答案 0 :(得分:2)
我找到了解决方案:
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"