Skip to content

Adding new sample: Remove Clustering Information from Legend#396

Merged
PaulGibbs3rd merged 3 commits intoEsri:masterfrom
woriginales:master
May 28, 2025
Merged

Adding new sample: Remove Clustering Information from Legend#396
PaulGibbs3rd merged 3 commits intoEsri:masterfrom
woriginales:master

Conversation

@woriginales
Copy link
Copy Markdown
Contributor

When enabling clusters, the cluster symbology is automatically added to the Legend widget. There are no properties to easily remove this from the legend. This sample clones the automatically created renderer after load, and manually disables the showLegend property inside visualVariables.

@PaulGibbs3rd PaulGibbs3rd self-assigned this May 28, 2025
@PaulGibbs3rd PaulGibbs3rd merged commit df00aa5 into Esri:master May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants