Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Specialist
Specialist

In colors tab check persistent color check box.

Regards,

Khadeer

Not applicable
Author

Hi,

I have tried it but it dnt work.

Not applicable
Author

Hi All,

      Any suggestion??

brenner_martina
Partner - Specialist II
Partner - Specialist II

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
Author

Hi Martina,

    Could you please provide me a sample application if possible.

Thanks in advance

brenner_martina
Partner - Specialist II
Partner - Specialist II

Hi,

here is an example

Greetings Martina

Not applicable
Author

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
Partner - Specialist II
Partner - Specialist II

Hi,

there is a nice function:

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

Does this help?

Greetings from Munich

Martina

Not applicable
Author

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