Treemap Hierarchy Axis change thru IronPython

Hi,

I'm trying to change the Hierarchy Axis thru ironpython but I'm getting an error.  Here's the script:

 

from Spotfire.Dxp.Application.Visuals import Treemap
webcalltreemap.As[Treemap]().TreemapHierarchyAxis.Expression = "<[Engine]>"

 

Here's the error:

"Could not change property. 'Treemap' has no attribute 'TreemapHierarchyAxis'"

Can someone please help me out?

Thanks

(1) Answer

Login