Symbology Quantities to show count

8225
16
07-12-2010 02:02 PM
Status: Implemented
Labels (1)
JakeKrall
Occasional Contributor III

When symbolizing features using Quantities (Symbology tab), I would like to see a "COUNT" field next to RANGE and LABEL to show how many features fall into each range.  And show this "count" in the legend in the TOC and map layout legend with a toggle to show/not show.

Also, if symbology values change, such as date values that change daily, the symbology would auto-update w/out having to go into the Layer Properties>Symbology dialog, click the Value field each time to update the layer.

16 Comments
ScottBrown3
You might try this.

Add Feature Contents to a Legen:  http://arcscripts.esri.com/details.asp?dbid=15069.  It adds feature counts to each class' description in both class-breaks and unique-value renderers in ArcMap. Simply turn on the visibility of class descriptions in the legend to view these counts.

I haven't tried it out, so I don't know if it will work for Quanties, but it might be worth a shot.

I think this should be a core function.  No matter how you symbolize, you should be able to see a count for each symbol, and if you can do that, then you should be able to toggle those counts on and off for the TOC/Legend.
RichardStokes
Just to add to sabrown73's comment, the macro linked to below does work as advertised and is really useful.  Would definitely be a good feature to include as standard.


Rich
TimoWidbom
How does the script in the follow link work in ArcGIS 10?:
Why this feature is not included in current versions?

http://edndoc.esri.com/arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM_Samples_Docs/Cartography/Renderers/aa...
MichelleTotman

This feature seems to exist in #arcdesktop 10.5‌, but not #arcpro 2.4

KoryKramer

Michelle, are you referring to the count being shown in a legend or the Table of Contents of the map?  Showing it in the legend is possible in both ArcMap and Pro.  Showing it in the TOC/Contents Pane is not possible in either, and as far as I can tell would be the focus of this idea.

JamalNUMAN

Right. Currently, the count of values of each class can be displayed in the legend. It would be great if the count of values (where applicable) of each class and their percent (%) can be displayed next to each class in the content pane without the need to calculate them

MichelleTotman

Hi Kory,

One of the capabilities that I keep going back to ArcMap for is seeing the counts in the symbology pane as seen in the picture below. I often use this as a guide to determine which classes I may want to merge or may not be represented in the dataset.

Symbology Counts

Is this available in ArcPro and I'm just unaware of where to look?

Thanks!

Michelle

KoryKramer

Hi Michelle Totman

Did you see the Show Count option?

I think that should work for what you're describing.

Hope that helps!

LetaRogers

Original poster should clarify that this is for the Table of Contents in a map, and not the layout (which I think we all know is possible). This could be done by the user right-clicking the label column header in the symbology window and selecting "Add count." The count column is already there. Why not use it? 

I seem to remember doing an ArcObjects exercise back  in the early oughts on doing this programmatically in VBA. The corresponding source for ArcPy has no mention of the class for the display of the symbology: https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/symbology-class.htm

 

wayfaringrob

Unique values symbology has this lovely little option for showing the count of items in each particular class:

rburkebsrc_0-1654641919318.png

It would be quite useful to have the same tool added to graduated colors and graduated circles symbology.

rburkebsrc_1-1654642029281.png

The histogram is sometimes okay for a quick eyeballing, but it would really be ideal to just see raw counts without a workaround.

rburkebsrc_3-1654642282771.png