Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
simple_sshong
Partner - Contributor II
Partner - 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
Partner - Contributor III
Partner - Contributor III

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

View solution in original post

11 Replies
beth_lavey
Partner - Contributor II
Partner - Contributor II

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

simple_sshong
Partner - Contributor II
Partner - Contributor II
Author

Not yet...

jomar_ebonite
Partner - Contributor III
Partner - Contributor III

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
Partner - Contributor II
Partner - Contributor II
Author

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
Partner - Champion
Partner - Champion

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
Partner - Champion
Partner - Champion

did you solve it?

jomar_ebonite
Partner - Contributor III
Partner - Contributor III

Hi,

Not the dimesion's expression.

Custom Colors by expression.

Thanks,

Jomar

simple_sshong
Partner - Contributor II
Partner - Contributor II
Author

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
Partner - Contributor II
Partner - Contributor II
Author

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