Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

simple_sshong
New Contributor II

How to change the Distribution plot color by dimension ??

Hi. I used distribution plot as Movie comprision by Month, Nation.



11.png

22.png

In the above figure, the difference in the number of Movie's Attendance is shown in the distribution plot.


Is it possible to specify colors for each dimension?

ex) Korea Movie point > red color,  Foreign Movie point > blue color.

New Visualization(Distribution plot), It seems that it is still limited.

Please tell me if there is any way.

Thank U :^)


1 Solution

Accepted Solutions
jomar_ebonite
New Contributor III

Re: How to change the Distribution plot color by dimension ??

Hi,

You may try to put your conditional color of dimision values under the expression of custom color.

If(platform='Android App',Green(),Red())

Regards,

Jomar

11 Replies
beth_lavey
New Contributor II

Re: How to change the Distribution plot color by dimension ??

I'm interested in this as well.  Did you find an answer?

simple_sshong
New Contributor II

Re: How to change the Distribution plot color by dimension ??

Not yet...

jomar_ebonite
New Contributor III

Re: How to change the Distribution plot color by dimension ??

Hi,

You may try to put your conditional color of dimision values under the expression of custom color.

If(platform='Android App',Green(),Red())

Regards,

Jomar

simple_sshong
New Contributor II

Re: How to change the Distribution plot color by dimension ??

hi, Jomar

It doesn't work....

Are u tell dimension's expression in the right section?

< nation: Korea, Foreign >

I write it as follows.

if(nation='Korea', Red(), Blue())

Maybe it's because there are two dimensions.(nation, Month)

Can u tell me another way?

i'm newbie.... help

agigliotti
Honored Contributor II

Re: How to change the Distribution plot color by dimension ??

did you try to use custom colors by expression (under Colors and legend section) and type there as below ?

if(nation = 'Korea Movie', red(), blue() )

how is your dimension called "nation" or "Nation" ?

agigliotti
Honored Contributor II

Re: How to change the Distribution plot color by dimension ??

did you solve it?

jomar_ebonite
New Contributor III

Re: How to change the Distribution plot color by dimension ??

Hi,

Not the dimesion's expression.

Custom Colors by expression.

Thanks,

Jomar

simple_sshong
New Contributor II

Re: How to change the Distribution plot color by dimension ??

Oh... What is the QlikSense version?

I'm September 2017 ver.(qliksensedesktop:11.14.3)

But, There's nothing u said about the Custom Colors by expression in distribution chart.

Is it a version issue??

simple_sshong
New Contributor II

Re: How to change the Distribution plot color by dimension ??

hi, Andrea.

No solved it...

Dimension's Name are "nation" and "Month".

I can't see the Custom Colors by expression;;;

Maybe, I think it's a version issue.

Thanks for the answer

Community Browser