COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: wishin_i_wasfishin on 08 Dec 2005 02:44:30 PM

Title: bar chart color***Urgent***
Post by: wishin_i_wasfishin on 08 Dec 2005 02:44:30 PM
How do you assign specific colors to each bar in a bar chart conditional on the data for the X axis.Ã,  For example, I have a district prompt in the report.Ã,  District numbers are on the X axis.Ã,  The requirement is district 1 must always haveÃ,  a green bar, district 2 must have a blue bar, and so on.

thx
Title: Re: bar chart color***Urgent***
Post by: JoeBass on 08 Dec 2005 02:54:48 PM
Have you tried the suggestion here?Ã,  http://cognoise.com/community/index.php?topic=634.0
Sorry - didn't read carefully the first time that the districts that appear are variable.
Title: Re: bar chart color***Urgent***
Post by: hmw on 09 Dec 2005 08:48:18 AM
I came across this same issue with pie charts about 2 weeks ago. Cognos Support responded that is is not possible. I posted their response at the topic below. Hope this helps.Ã,  :-\

http://cognoise.com/community/index.php?topic=740.0
Title: Re: bar chart color***Urgent***
Post by: buddydavis on 18 Jan 2006 10:48:03 PM
Hi its possible only when u DONT HAVE CONDITIONAL STYLES .
in other case u can go for a pallete and add colors..
click on the chart body and in the properties u can see palette..
If u wanna assign colors dynamically based on some condition its not possible
Thx
DAvis
Title: Re: bar chart color***Urgent***
Post by: mrcool on 19 Jan 2006 12:59:53 AM
Hi...I didnt find the case u mentioned in the previous postings in the cognos support...Can u send me the reply from Support.




Thanks,
S
Title: Re: bar chart color***Urgent***
Post by: hmw on 19 Jan 2006 06:09:56 AM
Cognos Support's response is below:


I have picked up case #3301761.  At present it is not possible to change the color in a chart based on a value in the database or in the query.  This functionality has been logged as an enhancement request under reference #476745.

I will be parking this case against this enhancement so that the relative priority will be raised, and so that you will be notified if this functionality becomes available in a future version of the product.