Hello Arcade community - I'm using ArcGIS Pro 3.1.0 & have a point feature class representing septic tanks. I want to label a map with the tank ID & on a newline the tank capacity in gallons. The tank capacity field is a numeric float type.
I'm want the label to be this:
ST-1
1,250 gals.
Here's my expression:
$feature.wwstank_id + TextFormatting.NewLine + text($feature.tank_cpcty,"#,###") + " gals."
returns this:
ST-1
1,250
gals.
When I remove the space preceding gals.
$feature.wwstank_id + TextFormatting.NewLine + text($feature.tank_cpcty,"#,###") + "gals."
returns this:
ST-1
1,250gals.
Please help me understand how to use a space character.
Thnx!
Solved! Go to Solution.
Check your label settings. It may have "stack" enabled, which will insert line breaks on spaces and commas as the program deems necessary to fit everything in. Unchecking the box lets you define the label lines as you need.
Check your label settings. It may have "stack" enabled, which will insert line breaks on spaces and commas as the program deems necessary to fit everything in. Unchecking the box lets you define the label lines as you need.
That was it. Stack Label was enabled. Thank You!
Wayne Simoneau