Creating bubble markers with different colors and transparency
In QlikMaps 2.2.1, you can also use RBG-formatted colors, as well as transparency/opacity. See below for more information.
Single color markers
Introduced in QlikMaps 2.0, autocolor will create a single-color marker for your points, which you can configure with IF statements; it is very simple to use.
From the Marker Icons template in a new Points object:
Example 3: Create a red bubble marker
='autocolor,#ff0000'
='autocolor,RGB(255,0,0)'
New in QlikMaps 2.2.1, you can add in a transparency parameter that will alter the transparency of each marker, on an individual basis.
From the Marker Icons template in a new Points object:
Example 5: Create a semitransparent red bubble marker
='autocolor,#a8ff0000'
='autocolor,ARGB(230,255,0,0)
Autocolor gradients
Introduced in QlikMaps 2.0, autocolor will create a color gradient for your points; it is very simple to use.
From the Marker Icons template in a new Points object:
Example 4: Create a bubble marker gradient from orange -> blue -> red -> green
='autocolor,orange,blue,red,green'
Autocolor with COLORMIX
New in QlikMaps 2.2.1, you can use the QlikView native COLORMIX function to control both color and transparency.
From the Marker Icons template in a new Points object:
Example 6: Use the ColorMix function to create a red to green gradient of bubbles
='autocolor,' &
if(Count(Distinct TOTAL [Dimension]) = 1,
LightGreen(),
ColorMix1(
(sum([x]) - min(total aggr(sum([x]), [Dimension]))) / (max(total aggr(sum([x]), [Dimension])) - min(total aggr(sum([x]), [Dimension]))),
LightRed(),
LightGreen()
)
)
Image files
You can also use image files of bubble markers to differentiate your points. See below: