Jump to content

How to hide the empty columns in spotfire cross table


lokesh Reddy

Recommended Posts

  • 3 years later...

You can set the width of the column at 0

from Spotfire.Dxp.Data import *

from Spotfire.Dxp.Application.Visuals import CrossTablePlot

for page in Document.Pages:

if (page.Title == "PageTitle"):

Document.ActivePageReference=page

 

crossTable = viz.As[CrossTablePlot]()

 

#NumberOfYourColumn[0]

crossTable.RowHeaderWidths[0]=0

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...