COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Greg on 20 Sep 2013 04:06:29 PM

Title: Assigning different palette colors to each category value in a bar chart
Post by: Greg on 20 Sep 2013 04:06:29 PM
I have a simple bar chart with two calculations as categories on the y axis.  Is it possible to assign different palette colors to each one? I can't put them as the series because I need the calculation names as y axis labels.

Image attached.
Title: Re: Assigning different palette colors to each category value in a bar chart
Post by: BigChris on 23 Sep 2013 02:15:16 AM
I think you need a conditional pallet for doing that. I haven't tried it without the information in the series, but I think it'll still work.
Title: Re: Assigning different palette colors to each category value in a bar chart
Post by: Greg on 23 Sep 2013 11:55:54 AM
I also thought of using a conditional palette but I don't know what I would base my condition on.  The only items in the chart are the two calculations that make up the two categories.  Defining a condition on those calculations, for example when
Title: Re: Assigning different palette colors to each category value in a bar chart
Post by: BigChris on 24 Sep 2013 03:41:45 AM
Ermmm...I'm probably missing something but I haven't had my first coffee yet. I think you should be able to have a conditional pallet based on the field that you've got in your Y axis. I've just created a very quick chart and dragged a couple of fields in, then done an advanced condition on the field that I want to alter the bar colour for and it worked fine.
Title: Re: Assigning different palette colors to each category value in a bar chart
Post by: ClarkShane on 01 Nov 2013 01:28:17 AM
Quote from: Greg on 20 Sep 2013 04:06:29 PM
I have a simple bar chart with two calculations as categories on the y axis.  Is it possible to assign different palette colors to each one? I can't put them as the series because I need the calculation names as y axis labels.

Send me the details I'll make a bar chart for you if the data is confidential then would like you to visit KoolChart's charting tools in which bar chart (http://www.koolchart.com) offers flexibility to work in 3D.