ArcGIS Developers
Dashboard

ArcadeLabelExpression QML Type

An expression script using the Arcade language. More...

Import Statement: import Esri.ArcGISRuntime 100.11
Since: Esri.ArcGISRuntime 100.11
Inherits:

LabelExpression

Properties

Signals

Detailed Description

The label arcade expression expects to hold a legal, Arcade script and to be read and evaluated by an Arcade expression interpreter. An example expression that combines text with a field value is

"State: " + $feature.State_Name

Note that quotes are needed around the literal text. See https://developers.arcgis.com/arcade/ for full documentation on the Arcade scripting language and its function library.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
ArcadeExpressionarcadeExpression

Property Documentation

[default] arcadeExpression : ArcadeExpression

An ArcadeExpression containing the Arcade expression script to use.

The expression is expected to be a complete, self-contained Arcade script that calculates a text string.

The ArcadeExpression::expression property of arcadeExpression is the same script string as LabelExpression::expression. Changing one will change the other.


Signal Documentation

arcadeExpressionChanged()

Emitted when the arcadeExpression property changes.

Note: The corresponding handler is onArcadeExpressionChanged.



Feedback on this topic?