Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am using an Area Map in my application and the appearance section has a few color schemes to use. Is it possible to have custom colors to choose from here? Requirement is to have color range from Green to Red to indicate the level of risk in an entity.
Thanks!
Hello Sandeep,
You may want to look at the Colormix1 and Colormix2 functions.
Change "By Measure" to "By Expression" in the dropdown menu.
In the expression window, type:
=colormix1(rank(total sum(Your_Field))/NoOfRows(TOTAL),rgb(0,255,0),rgb(255,0,0))
The first parameter in Colormix1 and Colormix2 must be a value between 0 and 1, so you'll need to reduce your expression to a range between those values.
Here is a good write-up on setting a custom color range and setting a theme for your apps.
Hello Sandeep,
You may want to look at the Colormix1 and Colormix2 functions.
Change "By Measure" to "By Expression" in the dropdown menu.
In the expression window, type:
=colormix1(rank(total sum(Your_Field))/NoOfRows(TOTAL),rgb(0,255,0),rgb(255,0,0))
The first parameter in Colormix1 and Colormix2 must be a value between 0 and 1, so you'll need to reduce your expression to a range between those values.
Here is a good write-up on setting a custom color range and setting a theme for your apps.
Thank you David!