A string value indicating the name of the feature attribute field that contains the data value to render.
OptionallegendOptions available for the legend.
OptionalshowIndicates whether to show color/size ramp in the legend.
Optionaltitle?: stringThe title of the legend.
OptionalnormalizationString value indicating the name of the attribute field used to normalize the data.
OptionalstopsAn array of transparencyStop objects.
The type of the VisualVariable.
TransparencyInfo is supported by opacityInfo in the JavaScript API. Except type and axis, all properties follow the syntax of the JavaScript API's opacityInfo property. It applies transparency to each feature based on the attribute values in a field. The exception is that the webmap JSON uses transparency (range 0 - 100, with 100 as completely transparent) instead of opacity (range 0 - 1, with 0 as completely transparent).
See https://developers.arcgis.com/web-map-specification/objects/transparencyInfo_visualVariable/ https://developers.arcgis.com/web-scene-specification/objects/transparencyInfo_visualVariable/.