Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Unique colors for chart legends -- Urgent help

Hi All,

     I have a requirement where I have to show different Unique colors for the legends in the charts..

For Eg: I have a chart which has a drill downs Department,Location and Skills.By default the chart show Department view and the legend with the different Department values which should have unique colors and same with the Location and Skills.In the same way where ever the Department is used in the other chart I want to see the same color reflected over all the charts.

Please let me know if anyone has suggestions..

Thanks in advance

9 Replies
khadeer_sparks
Valued Contributor

Re: Unique colors for chart legends -- Urgent help

In colors tab check persistent color check box.

Regards,

Khadeer

Not applicable

Re: Unique colors for chart legends -- Urgent help

Hi,

I have tried it but it dnt work.

Not applicable

Re: Unique colors for chart legends -- Urgent help

Hi All,

      Any suggestion??

brenner_martina
Valued Contributor II

Re: Unique colors for chart legends -- Urgent help

Hi,

1. you can use in color tab document colors defined and work there with variables: vcolor1 = RGB(0,0,0)

2. you can work with if-then-else statements in background color (click at +-sign in expression) and also work with variables

Greetings

Martina

Not applicable

Re: Unique colors for chart legends -- Urgent help

Hi Martina,

    Could you please provide me a sample application if possible.

Thanks in advance

brenner_martina
Valued Contributor II

Re: Unique colors for chart legends -- Urgent help

Hi,

here is an example

Greetings Martina

Not applicable

Re: Unique colors for chart legends -- Urgent help

Hi Martina,

     thanks for providing an example but this works fine when you have a single dimension but not for the Drill dowm group.Could you please let me know if you have any suggestions for the Drill down group dimension colors.

Thanks in advance..

brenner_martina
Valued Contributor II

Re: Unique colors for chart legends -- Urgent help

Hi,

there is a nice function:

If(GetCurrentField([Groupname])='XYZ',true,false)

Does this help?

Greetings from Munich

Martina

Not applicable

Re: Unique colors for chart legends -- Urgent help

Hi Martina,

        Ya I am aware of it but I dnt want to manually check for the Values in the different dimensions of the drill down to put unique colors.

Thanks

Lavanya

Community Browser