Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Sellls
Contributor III
Contributor III

Changing color gradient of scatter plot using ColorMix1

Hi,

I'm trying to get a different color gradient on my scatter plot using the custom color expression.

Am trying to achieve the same effect as the attached picture but with a green gradient instead of the default orange to dark red.  I basically want the newest data points to be darker in color and the oldest to be lighter in color.

I've tried to use the following code but it doesnt work. [Month_out] is the dimension in this case, and so is the measure.

Colormix1( (([Month_out]-$(=min([Month_out]))),[Month_out])/(($(=max([Month_out]))-$(=min([Month_out]))),[Month_out]),Green(),Lightgreen())

 

Qlik help 1.PNG

 

Wondering what I'm doing wrong , as the plot just turns out entirely grey?

 

Thank you!

 

 

 

0 Replies