Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikView forum consolidation is complete. Labels are now required. LEARN ABOUT LABELS
cancel
Showing results for 
Search instead for 
Did you mean: 
leandroserrao
Contributor
Contributor

SVG Map - Qlikview - colors to be staggered automatically

Hello guys,

I need help..

How do I leave my map (svg map) with color scale? I was doing with an if, but they are many values. I would like the colors to be staggered automatically (colors red for the smallest number and green for the largest number).

Note: this in qlikview (not sense).


Thanks..

2 Replies
Lisa_P
Employee
Employee

QlikView has a color function called colormix to return an ARGB value from a two color gradient.  There are two versions, Colormix1 and Colormix2 depending on the range of values.  Colormix1 is for a range between 0 and 1, Colormix2 is based on values between -1 and 1.  So if your values are percentages, then using Colormix1 with red as ColorZero and green as ColorOne should work for you.

See help for more details.

leandroserrao
Contributor
Contributor

Hi Lisa,

Colormix is ​​not working. It does not make the coloration gradual. It ends up coloring everything in black.