GeoBlazor Pro
layout: pro title: AttributeColorInfo parent: Pro Classes grand_parent: GeoBlazor Pro —
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components.Renderers
AttributeColorInfo Class
Defines colors for dots in a DotDensityRenderer, or colors for pie chart slices in a PieChartRenderer.
ArcGIS Maps SDK for JavaScript
public class AttributeColorInfo : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 AttributeColorInfo
Properties
AttributeColorInfo.Color Property
The color used to render dots representing the given field in a DotDensityRenderer or the color used to represent a pie chart slice in a PieChartRenderer.
public dymaptic.GeoBlazor.Core.Objects.MapColor? Color { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Objects.MapColor
AttributeColorInfo.Field Property
The name of the numeric attribute field represented by the given color.
public string? Field { get; set; }
Property Value
AttributeColorInfo.Label Property
The label used to describe the field or attribute in the Legend widget.
public string? Label { get; set; }
Property Value
AttributeColorInfo.ValueExpression Property
An Arcade expression following the specification defined by the Arcade Visualization Profile. Expressions in DotDensityRenderer may reference field values using the $feature profile variable and must return a number equal to the number of units represented by each dot. Expressions in PieChartRenderer must return a number representing the size of the pie chart slice.
This takes precedence over field. Therefore, this property is typically used as an alternative to field.
public string? ValueExpression { get; set; }
Property Value
AttributeColorInfo.ValueExpressionTitle Property
The title identifying and describing the associated Arcade expression as defined in the valueExpression property. This is displayed as the label of the attribute in the Legend in the absence of one provided in the label property.
public string? ValueExpressionTitle { get; set; }