Skip To Content ArcGIS for Developers Sign In Dashboard

Web Map Specification

attributeColorInfo

The following is a list of properties found on the attributeColorInfo object, which is one of the properties on the dotDensity renderer object. The attributeColorInfo object defines the colors to map to the fields for each dot drawn in the renderer.

Referenced by: Dot Density Renderer

Properties

Property Details
color The color used to render dots representing the given field. Color is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.
field The name of the numeric attribute field to represent with dots according to the reference dot value.
label The label used to describe the field or attribute in the legend.
valueExpression An Arcade expression that computes a numeric value in lieu of a value provided by an attribute field.
valueExpressionTitle The title identifying and describing the associated Arcade expression as defined in the valueExpression property.

Example

{
  "attributeColorInfo": {
    "color": [
      242,
      60,
      63,
      255
    ],
    "field": "B03002_003E",
    "label": "White (non-Hispanic)"
  }
}

Feedback on this topic?