Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
Not applicable

Dynamic bubble opacity and order

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!

5 Replies
lakshmikandh
Not applicable

Re: Dynamic bubble opacity and order

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.

Not applicable

Re: Dynamic bubble opacity and 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!

Not applicable

Re: Dynamic bubble opacity and order

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.

Not applicable

Re: Dynamic bubble opacity and order

I am unfamiliar with that function but it sounds promising, could you please give me some more info?

Thank you very much!

Not applicable

Re: Dynamic bubble opacity and order

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:

ArgumentDescription
alphaTransparency value in the range 0 - 255. 0 corresponds to full transparency and 255 corresponds to full opacity.
r, g, bRed, 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