A string value indicating the name of the feature attribute field that contains the data value to render.
OptionallegendOptions available for the legend. See https://developers.arcgis.com/web-map-specification/objects/legendOptions/ https://developers.arcgis.com/web-scene-specification/objects/legendOptions/.
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.
OptionalrotationDefines the origin and direction of rotation depending on how the angle of rotation was measured. Possible values are geographic which rotates the symbol from the north in a clockwise direction and arithmetic which rotates the symbol from the east in a counter-clockwise direction.
Must be one of the following values: geographic, arithmetic.
The type of the VisualVariable.
OptionalvalueAn Arcade expression that computes a value in lieu of a value provided by an attribute field.
The rotation visual variable defines how features rendered with marker symbols are rotated. The rotation value is determined by mapping the values to data in a field, or by other arithmetic means with a function.
See https://developers.arcgis.com/web-scene-specification/objects/rotationInfo_visualVariable/ https://developers.arcgis.com/web-map-specification/objects/rotationInfo_visualVariable/.