UniqueValueRenderer grouping values

477
2
07-06-2021 06:19 AM
mattkramer
Occasional Contributor

Hello,

 

I was wondering if it was possible to group multiple items in a UniqueValueRenderer into one item.   In the item documentation (Item—ArcGIS Pro | Documentation) it notes that the values is a read only field, and when I try to add an item with multiple values, the group does not get added.  

Below is the format I am currently using to add 2 values to the "Counties" group.  The 'Pickaway' value will show up, but the grouped one will not.  

 

CountySymbology.renderer.addValues({"Counties": ['Pickaway', 'Wood;Trumbull']})

 

 

If this is not possible, is there a way to update the default label from the <all other values> text?

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

UniqueValueRenderer—ArcGIS Pro | Documentation

I don't suppose itemgroup is much better


... sort of retired...
0 Kudos
mattkramer
Occasional Contributor

Yeah, from what I understand you can have multiple items in an itemgroup, but they will all be symbolized differently.  My main goal is to get multiple values to live under the same symbol and label.

0 Kudos