COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: cognosjon on 26 Aug 2008 08:23:18 AM

Title: Chart Legend Sizing
Post by: cognosjon on 26 Aug 2008 08:23:18 AM
Hello All,

I'm having a few issues with the sizing of legends on some of my charts. The simple fact is that I can't resize the legend. As it is a requirement that the legend be situated underneath each chart, if more than 4-5 elements are added as a series they disappear and the user is left with guess work apart from a little friendly downward pointing arrow that advises that extra elements are present.

Anybody found a way to get around this issue or am I stuck for good.

I'm using 8.1 but have tried with 8.3 and get the same issue.

Cheers
Title: Re: Chart Legend Sizing
Post by: aji136 on 01 Sep 2008 02:36:12 AM
Hi Cognosjon,

I have been able to do this by changing the default legend property of absolute positioning from No to Yes. You will have to adjust the left, top, right and bottom position as per your requirements. In addition to this, you will also have to set the padding (this is important). It is not possible to show legend at the bottom if you do not set the padding. For my report, I have set the bottom padding of 120px.

I have attached 2 screenshots of my settings and report - hope this helps.

Cheers,
aji136
Title: Re: Chart Legend Sizing
Post by: cognosjon on 01 Sep 2008 02:49:19 AM
Cheers thanks  for that, especially the inclusion of images. Very much appreciated, I'll give it a shot myself in a few minutes. ;D


Title: Re: Chart Legend Sizing
Post by: cognosjon on 01 Sep 2008 03:09:46 AM
Marvellous worked a treat, not ever thought about playing with those settings, thanks again.
Title: Re: Chart Legend Sizing
Post by: damianiw on 22 Nov 2011 04:34:41 AM
Thanks for this and the images