attributeColorInfo

The following is a list of properties found on the attributeColorInfo object. This object defines colors used to represent numeric fields in a dotDensity renderer or a pieChart renderer.

Referenced by: Dot Density Renderer, Pie Chart Renderer

Properties

Property Details
color The color used to represent the field or valueExpression when rendering dots in a dotDensity renderer or slices in a pieChart renderer. 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 a numeric attribute field.
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.

attributeColorInfo Example

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close