from Spotfire.Dxp.Application.Visuals import *
from Spotfire.Dxp.Application.Visuals.Miniatures import *
#gt = VisualTypeIdentifiers.GraphicalTable
ct = VisualTypeIdentifiers.CrossTable
def hideColums(x,n,w):
for vis in Document.ActivePageReference.Visuals:
if vis.TypeId==x:
vis = vis.As[Visualization]()
for i in range(0,n):
vis.RowHeaderWidths[i] = w
hideColums(ct, 2, 0) #vis type, n=number of headers, width
Thanks Jolene Robertson!
No comments:
Post a Comment