Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all,
I was wondering whether there was anyway to change the opacity and the order (in which the bubbles are placed upon one another) in a way similar to the colour and bubble size system.
Thanks for all the help!
Opacity you can control but not in similar way like color and size , i think order of bubble will be based on dimension sorting order.
I'm aware that you can control opacity, and that there is no visible option to control opacity in the same way as colour and size. I was wondering whether there was any way to apply the same expression as controls colour and size to opacity through some console or other means?
What do you mean by dimension sorting order? The order in which the members of the dimension appear in the database?
Thanks for your quick response and help!
HI Lukas,
Might be obvious but have you tried the color function argb(a,r,g,b)?
Lets you define color and opacity with alpha value.
Thanks
Patric Nordström, Idevio
Try IdevioMaps for Qlik Sense, QlikView and GeoAnalytics Connector at QlikMarket or watch the highlights on video.
I am unfamiliar with that function but it sounds promising, could you please give me some more info?
Thank you very much!
Hi Lukas,
From the help:
ARGB() is used in expressions to set or evaluate the color properties of a chart object, where the color is defined by a red component r, a green component g, and a blue component b, with an alpha factor (opacity) of alpha.
Syntax:
ARGB(alpha, r, g, b)
Return data type: dual
Arguments:
Argument | Description |
---|---|
alpha | Transparency value in the range 0 - 255. 0 corresponds to full transparency and 255 corresponds to full opacity. |
r, g, b | Red, green, and blue component values. A color component of 0 corresponds to no contribution and one of 255 to full contribution. |
All arguments must be expressions that resolve to integers in the range 0 to 255.
For example
=argb(125,255,0,0) // Half transparent red
=arrgb(255,255,0,0) // Non transparent red
Here's a link to an article using argb: Using RGB() and ARGB() to define colors
Did argb() work for you? I am trying to make certain bubbles on a distribution plot show up when selected. Color by expression works for me, but sometimes they're behind the other bubbles and aren't visible. Just wondering if you had any luck.