TransparencyInfo Visual Variable

The transparencyInfo visual variable defines the transparency, or opacity, of each feature's symbol based on a numeric attribute field value.

Referenced by: visualVariable

Properties

Property Details
field Attribute field used for setting the transparency of a feature if no valueExpression is provided.
legendOptions Options available for the legend for visual variables.
See legendOptions properties table.
normalizationField Attribute field used to normalize the data.
stops[] An array of transparencyStop objects.
type Specifies the type of visual variable.
Valid value of this property transparencyInfo
valueExpression An Arcade expression evaluating to a number.
valueExpressionTitle The title identifying and describing the associated Arcade expression as defined in the valueExpression property.

legendOptions properties

Property Details
showLegend Indicates whether to show the color/size/opacity ramp in the legend.
title The title of the legend.

transparencyInfo Example

Live sample web scene showing use of the transparencyInfo visual variable.

{
  "type": "transparencyInfo",
  "field": "strength",
  "stops": [
    {
      "value": 21,
      "transparency": 60
    },
    {
      "value": 39,
      "transparency": 10
    }
  ]
}

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