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: 
diwakarnahata
Creator
Creator

Predefined RGB colors for each Country

Hi,

I need to put static predefined RGB colors to for each Country. These colors to Country mapping are coming from Excel.

How can I show that color for that country in the Chart?

For e.g. the Bar for India should show the color : RGB(0,164,228).

PFA the qvw and Excel for your reference.

Regards,

Diwakar

3 Replies
agomes1971
Specialist II
Specialist II

Hi,

please see attached.

Kind Regards

André Gomes

Anonymous
Not applicable

If you are building an application to be used in the long term it might be better to load the colour associated with each country into a variable on a once-off basis. After that, you can simply maintain the variables (change / edit) when required.

There are many posts on how to import variables via a load script...

Load and use variables from an excel file

Contact me directly should you need specific help

maxgro
MVP
MVP