COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Pramod on 09 Mar 2009 01:00:16 AM

Title: Change Colour of bars depending on prompt
Post by: Pramod on 09 Mar 2009 01:00:16 AM
Hi All,
Wanted help to implement the following:
There is a report where there is a prompt for region which is in graph and crosstab
If I select a region say America the bar in graph should be yellow
If I change it to Europe the bar colour should be green and so on .
Any help is appreciated.


Thanks in advance
Title: Re: Change Colour of bars depending on prompt
Post by: Gollapudi on 09 Mar 2009 01:39:41 AM
Hi,

You can achieve it by using "Conditional Palette" Property, what all you have to do is...
1. create a String variable and set the country names as the values of the variable.
2. Then based on the Country name you can specify the color as you want.

But the problem is this is not dynamic...

Thanks,
Gollapudi.