Select to view content in your preferred language

Every word in legend label split into different line

285
3
Jump to solution
10-27-2025 03:32 PM
AvaFarouche
Frequent Contributor

Greetings,

Each word in my legend labels is being put into a separate line, at least for one of the attributes.

So for instance, I would like one item label in my legend to say "Chem recycling, new" all on one line.

But instead, it's 

AvaFarouche_0-1761602458616.png

"Chem Recycling" is coming from one attribute, and "New" is coming from another. In all of my labels, each word in the pertinent attribute is being stacked into a separate line.

I've done everything I can w/column fitting strategy and word wrapping and nothing fixes it. The extra thing is that this happened in the symbology pane as soon as I broke out the categorization, and I've never seen that happen before. 

Here's a clip from the symbology pane. You can see that the space for the label is plenty wide for it to expand, but it's not doing it.

AvaFarouche_1-1761602768279.png

These items do combine two attributes, but the stack isn't happening between those two designations. "Chem Recycling" is one attribute, but in the label, it's broken out and stacked in 2 separate lines. "Ethylene, propylene, polymers, chem" are all part of one attribute, but each word is stacked into its own line.

Is the space character being interpreted as a stacking command/ line break? But why on this legend and never on any other I've ever done? This dataset was created from a spreadsheet, X,Y table to point, created the same way I've created thousands of others. That spreadsheet was converted from a pdf to xcel, so it was never a CSV but maybe there's some legacy of that...? I've been trying to find a way to adjust this through the Data options but so far I haven't figured it out. This attribute is just a Text field.

Thanks!!

0 Kudos
1 Solution

Accepted Solutions
AvaFarouche
Frequent Contributor

Actually I think I answered my own question. There are line breaks in the excel spreadsheet cells that must be there because I converted a pdf to a spreadsheet. I'm going to have to go back to the beginning, fix the spreadsheet, and recreate my data.

But thank you for chiming in!!

View solution in original post

3 Replies
AubriOtis
Esri Regular Contributor

That's weird. Can you tell me what version of Pro you are using and show me the settings for the word wrapping and fitting strategy? That will help me provide better suggestions. 

Cheers,
Aubri
0 Kudos
AvaFarouche
Frequent Contributor

Actually I think I answered my own question. There are line breaks in the excel spreadsheet cells that must be there because I converted a pdf to a spreadsheet. I'm going to have to go back to the beginning, fix the spreadsheet, and recreate my data.

But thank you for chiming in!!

AubriOtis
Esri Regular Contributor

Ah! That makes sense. If the line breaks are in the data the software doesn't override them. Glad you figured it out 🙂 

Cheers,
Aubri
0 Kudos