Arcade expression for vary symbology by color

248
1
07-07-2020 09:52 AM
JohnMorgan
New Contributor III

Hello, 

I am attempting to control the color of my graduated symbols based on a different value from the one used to drive the symbol sizes. Both values are in the same attribute table. I was thinking to do this with an Arcade expression under "Vary symbology by color" however, it doesn't seem to be working as expected. The Arcade expression I am using is:

if ($feature.USER_avg_tem==70){
return rgb(255, 255, 0)
}

Any advice on how to get this working would be appreciated. 

Thanks, 

Derek

1 Reply
LucaTroncarelli
New Contributor

I have the same problem. I tried with rgb values (with comma and without commas), with the HEX value but nothing. With size and trasparency expressions there are no problems.

Only for assign colours with Arcade expressions

0 Kudos