AnsweredAssumed Answered

Arcade: how to change color in only one of the two stacked labels?

Question asked by malvarezi on Jul 21, 2017
Latest reply on Jul 25, 2017 by xander_bakker

I was wondering if Arcade allows you to add color to a part of your label. Here is what I am trying to show in my label:

1.2M
(25k)
 
And here is the code for showing both labels in black:
Text(round(number($feature.WUI_Houses/1000000),1), "#,###.#") + Text("M")+ TextFormatting.NewLine + Text("(") + Text(round(number($feature.WUI_Seas_H/1000),0), "#,###.#") + Text("k") + Text(")")
 
I need to help to find out what is the code for changing color in the the second label only. Using ArcPro.
 
Many thanks!
 
Mila

Outcomes