COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Active Reports => Topic started by: nancysinghal on 22 Jun 2016 01:45:09 AM

Title: Hide legends and show text of legend series in different colors
Post by: nancysinghal on 22 Jun 2016 01:45:09 AM
Hi All,

I have a requirement where: In a bar chart , I have a column Region in series, and region has multiple values. Now when I run the report , it shows legend values with all region names and different colour square boxes.
Requirement is to remove the legend boxes and to show only the text, ie., Region names with different colours that will denote the bar they belong to.

Suggestions please.

Thanks,
Nancy
Title: Re: Hide legends and show text of legend series in different colors
Post by: MFGF on 22 Jun 2016 07:16:47 AM
Quote from: nancysinghal on 22 Jun 2016 01:45:09 AM
Hi All,

I have a requirement where: In a bar chart , I have a column Region in series, and region has multiple values. Now when I run the report , it shows legend values with all region names and different colour square boxes.
Requirement is to remove the legend boxes and to show only the text, ie., Region names with different colours that will denote the bar they belong to.

Suggestions please.

Thanks,
Nancy

Hi,

You don't have this degree of control in the legend of a chart, sadly. The only option I can think of is to hide the legend and add a table containing coloured text items - one for each of the bar values.

Cheers!

MF.