How are legends on the print template generated?

247
1
12-22-2022 02:47 PM
AndrewMurdoch1
Occasional Contributor II

Good Day

I've noticed that for some of my map, the legend on the Print Template is missing, and I don't know why.  ex:

Screenshot from 2022-12-22 17-34-33.png

Compared to others:

Screenshot from 2022-12-22 17-43-00.png

All maps use the same "UniqueRenderer", which has ~200 settings in it, and on the two maps shown, they both forgo using valueExpressions', unlike all the other maps.  So what causes the legend to show up?   For the two maps shown, they're set up virtually the same way, the only difference would be the field they reference, but both use a string field.

Thanks

0 Kudos
1 Reply
MichaelVolz
Esteemed Contributor

There might be too many unique values to show up in the legend so the legend shows none of the values.  As a test remove most of the unique values and see if the legend then displays.

0 Kudos