If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Page sizing (particularly Charts)

Started by Russell, 26 Jul 2018 04:39:50 AM

Previous topic - Next topic

Russell

I want to get a page (in this case a chart) to "fill the page".  Ideally I'd like this to fill the window when being viewed on screen and an A4 page when being viewed in PDF for printing.

I assume that the "size & overflow" option is all that's available but there seem to be some unhelpful limitations...
1) setting the percent to 100 for height OR width works for PDFs that dimension but setting both to 100 doesn't apply to both (also doesn't adjust to the window size on-screen so has scrollbars
2) available screen resolution differs around the company (laptops are very different to desktops; several different laptop sizes too)
3) without changing the size & overflow, Cognos has a fixed width per category value so will adjust itself depending on the timescale/values selected

All of this makes it very difficult to get to a setting that makes it look visually good to all end users without having separate versions of everything to suit each individual resolution/layout (adding to the administration for some complicated reports).

Has anyone got any suggestions of the best way to get around these limitations?

Invisi

Firstly I would wonder why you want one chart to fill your whole screen when it's not mobile. Secondly I would wonder why you want this one chart both on screen and printed on paper.

After that, consider you can give the chart a sizing of 90% instead of 100%. This will allow for some margins, that are hiding somewhere in the stylesheets. I think you can also work with horizontal and vertical positioning to make sure your chart will be centered. Maybe you have to set these properties in the container where the chart is in.
Few can be done on Cognos | RTFM for those who ask basic questions...

hespora

I agree with Invisi; for anything "standard size" rather than a small mobile device, a single chart per page seems overkill.

Either way, what my experience tells me to do is rather than try and find the one-approach-fits-all layout, work with multiple layouts, either in conditional blocks or in pages, with render variables set on the ReportOutput() function.