COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: johnnyfleet on 01 Jun 2009 05:57:06 AM

Title: Set Chart Bar Gap Width?
Post by: johnnyfleet on 01 Jun 2009 05:57:06 AM
Hi there,

I'm building a simple horizontal bar graph to display some information in a stacked fashion. Ultimately I am looking to embed this as a sparkline using master-detail relationships. I have been able to create the graph ok, but when I reduce the size down I find that the bar width ends up really thin and unreadable).

I know in Excel there is a way to set the white space 'gap width' between bar charts which reduces this problem but cannot find a similar feature in Cognos C8 Report Studio. Can anyone give me pointers on how to reduce the overall size of a graph without reducing the width of the bar or how to set the white space gap width?

Thanks in advance
John
Title: Re: Set Chart Bar Gap Width?
Post by: johnnyfleet on 01 Jun 2009 07:44:48 AM
After a little more digging I found this official response from Cognos on their knowledge base:

Problem(Abstract)
Can the width of the bars in bar charts be set or modified?


Cause
The bars are created by the Cognos engine at runtime.

The rendering engine does not initially know how many bars are to be created and assigns their widths dynamically. This prevents you from setting anything in Report Studio regarding the size or width of those bars.

This issue was attributes to Cognos 8.2 so I don't know if new changes have fixed this. If not - does anybody know of a workaround that would work?