简体   繁体   中英

TreeMap properties(Hierarchy, Size by) using ironpython script in spotfire

如何在Spotfire中使用ironpython脚本更改TreeMap属性(层次结构,大小依据)。

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"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM