Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

colour map

Hi,.

Further to previous posts on our current application which looks at staisfaction data we want to assign a staisfcation score to as specific colour. The table below confirms what these are. The crucial bit is we need this to work on the maps so when we select a question (there are 7 on this appliction) the colour is both replicated/remebered and also shown on the map.

Satisfaction ScoreCOLORCOLOR CODER (RGB)G (RGB)B (RGB)
10Green#4AA02C7416044
9Light green#7CD25E12421094
8Amber#CDCD002052050
7Yellow#FFFF002552550
6Blue#0000FF00255
5Blue#0000FF00255
4Light red#CD46462057070
3Red#FF000025500
2Dark red#FF000013500
1Black#000000000

Can anybody advise where and how this is done?

Chris

5 Replies
christian77
Partner - Specialist
Partner - Specialist

Can you send an example?

Not applicable
Author

Example attached

christian77
Partner - Specialist
Partner - Specialist

I can't see the map. I don't have that extension.

Not applicable
Author

Hi,

Its a Qlikmap which is an free download of the community. Is it on the map you do the work to show this or somewhere else on the application/program?

christian77
Partner - Specialist
Partner - Specialist

Ok, I saw its properties opening from objects in the page.

To set colors by field values I usually do the next:

In the script

Load

Field

CRed

CGreen

CBlue

A

25

200

200

B

200

44

33

C

20

30

40

Then I use the function rgb(Cred,CGreen,CBlue)

In this case, your expression has to be relocated. If(Score >= 1 and Score is <=10, Red(),Yellow())

If you want to color the first expression, open it up on the plus symbol. Go to Text Color or Back Color and place your expression

color.png