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

PropertyDetails
colorThe 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.
fieldThe name of a numeric attribute field.
labelThe label used to describe the field or attribute in the legend.
valueExpressionAn Arcade expression that computes a numeric value in lieu of a value provided by an attribute field.
valueExpressionTitleThe 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)"
}