COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Universe09 on 03 Mar 2009 11:52:28 PM

Title: Help: dynamic color per bar of graph
Post by: Universe09 on 03 Mar 2009 11:52:28 PM
Hi,

is it possible to designate a specific color per bar of graph in report studio?

example:

Case
When parameter = 1 Then
  bar graph color = Red
When parameter = 2 Then
  bar graph color =  Blue
When parameter = 3 Then
  bar graph color =  Green
End

Thanks!
Title: Re: Help: dynamic color per bar of graph
Post by: kathirsivan on 04 Mar 2009 04:30:36 AM
hi

Yes

use conditional Palette in the chart properties it will work.

find the attachment XML file  it will help you....

thanks
kathir
Title: Re: Help: dynamic color per bar of graph
Post by: sudhir on 04 Mar 2009 04:51:54 AM
Hi,
I tried kathirs solution..
Its working Fantastic...
thanks Kathir.. for uyr help..
Title: Re: Help: dynamic color per bar of graph
Post by: sridhar_cheepu on 04 Mar 2009 06:42:15 AM
Hi Guys,

It works fine, only If the parameters are static. If the Parameters are dinamic you need to think.