# Interface PredominanceRendererJson

This renderer is a type of UniqueValue renderer which is based off the valueExpression property rather than field. Optionally, size and/or transparency visual variables may be included with valueExpression. Note that this renderer is supported for ArcGIS Online hosted feature services and feature collections.

See https://developers.arcgis.com/web-map-specification/objects/predominance_renderer/.

interface PredominanceRendererJson {
authoringInfo?: AuthoringInfoJson;
backgroundFillSymbol: SimpleFillSymbolJson;
defaultLabel?: string;
defaultSymbol?: Symbol2DJson;
rotationExpression?: string;
rotationType?: RotationJsonType;
type: "predominance";
uniqueValueInfos: UniqueValueInfoJson[];
visualVariables?: VisualVariableJson[];
}

#### Hierarchy (view full)

- RendererJsonBase
  - PredominanceRendererJson

#####
Index

### Properties

authoringInfo?
backgroundFillSymbol
defaultLabel?
defaultSymbol?
rotationExpression?
rotationType?
type
uniqueValueInfos
visualVariables?

##
Properties

### `Optional` authoringInfo

authoringInfo?: AuthoringInfoJson

An object containing metadata about the authoring process for creating a renderer object. This allows the authoring clients to save specific overridable settings so that next time it is accessed via the UI, their selections are remembered. Non-authoring clients should ignore it.

Inherited from RendererJsonBase.authoringInfo

### backgroundFillSymbol

backgroundFillSymbol: SimpleFillSymbolJson

A simple fill symbol that is only for polygon features.

### `Optional` defaultLabel

defaultLabel?: string

Default string for the default symbol used to draw unspecified values.

### `Optional` defaultSymbol

defaultSymbol?: Symbol2DJson

Symbol used when a value cannot be classified.

### `Optional` rotationExpression

rotationExpression?: string

A constant value or an expression that derives the angle of rotation based on a feature attribute value. When an attribute name is specified, it's enclosed in square brackets.

Inherited from RendererJsonBase.rotationExpression

### `Optional` rotationType

rotationType?: RotationJsonType

String value (either geographic or arithmetic) which controls the origin and direction of rotation on point features. If the rotationType is defined as 'arithmetic', the symbol is rotated from East in a counter-clockwise direction where East is the 0� axis. If the rotationType is defined as 'geographic', the symbol is rotated from North in a clockwise direction where North is the 0� axis.

Inherited from RendererJsonBase.rotationType

### type

type

The type of renderer. See RendererJsonType.

Overrides RendererJsonBase.type

### uniqueValueInfos

uniqueValueInfos: UniqueValueInfoJson[]

Array of objects with value, label, description and symbol.

### `Optional` visualVariables

visualVariables?: VisualVariableJson[]

An array of visualVariable objects used for continuous color or size, simple, and unique values with feature opacity.

Inherited from RendererJsonBase.visualVariables