ClassChoroplethColorizationStrategy
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public class ChoroplethColorizationStrategy : IColorizationStrategy, IMapLegendInfoProvider
Inheritance: objectChoroplethColorizationStrategy
Implements:
Constructors
ChoroplethColorizationStrategy()
Initializes a new instance of the ChoroplethColorizationStrategy class.
Declaration
public ChoroplethColorizationStrategy()
Properties
ColorStops
Gets or sets the color stops.
Declaration
public List<double> ColorStops { get; set; }
Property Value
List<double>
The color stops.
Colors
Gets or sets the colors.
Declaration
public List<Color> Colors { get; set; }
Property Value
List<Color>
The colors.
ValueProvider
Gets or sets the value provider.
Declaration
public IColorizationValueProvider ValueProvider { get; set; }
Property Value
The value provider.
Methods
ColorizeElement(MapGeometry)
Colorizes the provided element.
Declaration
public void ColorizeElement(MapGeometry colorizable)
Parameters
colorizable
The colorizable.
Implements
GetColorizerColor(double)
Gets the color for the given value.
GetLegendInfo(MapLegendElement)
Gets the legend information need by the RadMap legend.
Declaration
public virtual List<MapLegendInfoItem> GetLegendInfo(MapLegendElement mapElement)
Parameters
mapElement
The map element.
Returns
List<MapLegendInfoItem>
List<MapLegendInfoItem>.
Implements
TryGetValue(MapGeometry, out double)
Tries the get the value of the given geometry.
Declaration
protected virtual bool TryGetValue(MapGeometry colorizable, out double value)
Parameters
colorizable
The colorizable.
value
The value.
Returns
true if XXXX, false otherwise.