Select to view content in your preferred language

Display Categories

618
3
Jump to solution
06-07-2023 11:27 AM
Seyed-MahdySadraddini
Occasional Contributor

Hi

I am seeing a very strange behaviour when I try to change Symbology into Graduated Colors. So, the field that I want to display has 4 categories, literally 1, 2, 3, and 4. However, I am noticing that category 4 is missing from the display. And even the histogram does not read the 4th category!!

SeyedMahdySadraddini_0-1686162088822.png

SeyedMahdySadraddini_1-1686162309073.png

 

This may be a bug, but I don't seem to be able to understand why this is happening!!

 

I have 16 layers with the same 4 categorizations, but 4 of those layers fail to read or display all 4 categories! Any ideas what could be the possible cause for this error?

 

Adding an example of what I see:

SeyedMahdySadraddini_0-1686166499671.pngSeyedMahdySadraddini_1-1686166659537.png

 

0 Kudos
1 Solution

Accepted Solutions
Robert_LeClair
Esri Notable Contributor

Hmmm...I created an ArcGIS Pro 3.1.2 project with 4 polygons and a single attribute field called FIELD.  Then I added values 1, 2, 3, and 4 to the field, saved the edits, and applied the graduated colors symbology with 3 classes and Natural Breaks (Jenks) method.  It works fine on my side.  By chance, do you have a JOIN to a CSV file on the layer?  If so, there's a BUG for that - solution is to remove the CSV, convert to an XLSX file and rebuild the join.  Second cause is there's more than 10,000 features in your feature class so you need to increase the "Maximum sample size" in the Symbology pane.

UniqueValues.JPG

View solution in original post

0 Kudos
3 Replies
Robert_LeClair
Esri Notable Contributor

Hmmm...I created an ArcGIS Pro 3.1.2 project with 4 polygons and a single attribute field called FIELD.  Then I added values 1, 2, 3, and 4 to the field, saved the edits, and applied the graduated colors symbology with 3 classes and Natural Breaks (Jenks) method.  It works fine on my side.  By chance, do you have a JOIN to a CSV file on the layer?  If so, there's a BUG for that - solution is to remove the CSV, convert to an XLSX file and rebuild the join.  Second cause is there's more than 10,000 features in your feature class so you need to increase the "Maximum sample size" in the Symbology pane.

UniqueValues.JPG

0 Kudos
Seyed-MahdySadraddini
Occasional Contributor

I had to increase the sample size indeed, as I had more than 16000 records/features!

AlfredBaldenweck
MVP Regular Contributor

I'm kind of confused as to why you would do it like this?

To answer your question, I think you're missing your fourth value because you only have three classes list

 

AlfredBaldenweck_0-1686247877131.png

However, you can do it like this as well:

If you want to have a continuous color grade between four values like this, I think it'd be easier to do the following:

  1. Set to Unique Values
  2. Change the Color Scheme to Continuous
    AlfredBaldenweck_0-1686247437065.png
    AlfredBaldenweck_1-1686247510276.png
  3. Edit the Scheme as Needed
  4. Add All Values
    AlfredBaldenweck_2-1686247562944.pngAlfredBaldenweck_3-1686247693411.png

     

    AlfredBaldenweck_4-1686247706763.png

     

  5. If you need to change the number of classes, remove all symbols and then add them again.
0 Kudos