Currently the only way to control the page layout is through layout manager ... this allows us to arrange visualizations side-by-side or to stack them. This is barely sufficient to programmatically arrange the page. In fact, we badly need a way to specify the width/height of the visualizations in percentages. This required when building tools similar to data relationship tool that creates new pages with many visualizations and tries to layout out the page nicely.
Implemented in | 7.8 |
With new the capabilities in the LayoutDefinition API, introduced in Spotfire 7.8, it is possible to specify proportions (vertically or horizontally) to get full control over the layout of the visualizations on a page. This makes it possible to get the same kind of layout that is possible to achieve by manually arranging visuals on a page.
For more details see the community article on How to Set the Layout of the Visualizations on a Page in TIBCO Spotfire® using IronPython.
I have read this article and I do not see how this is implemented with 7.8. If there is a way to implement this in a way to specifically set the height and width for each area please share how this can be achieved.
It would be very helpful if you could expand the API a bit in the next releases. In some of my analysis I have to place a header and a footer. They should have the same size on each page but the remaining content can be different. So it would be nice to loop over all pages and define a size for the header and the footer, and then adjust the remaining content proportionally.
improvements for managing the page layout (through both the GUI and API) is in my personal top 5 wish list. Very often I find myself using a post-it on my monitor in order to help arranging visuals and text areas across different (similarly structured) pages to achieve a consistent look and feel in my report.