Jump to content

How can I decide in what part of the screen my visualizations appear when creating them with a script


Francesco Guagliardo

Recommended Posts

I have made a script that at the press of a button deletes one vis and shows another in its stance

To do that I use:

page.Visuals.Remove(vis1_name)

visual=page.Visuals.AddNew(VisualTypeIdentifiers.BarChart)

When creating the viz, spotfire decides to always put at the bottom of the page but I would like it somewhere specific, like for example after another visualisation.

How can I controll where in the page the visualisation pops up when I use the AddNew function

Thanks,

Frank

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...