Class ChoroplethColorizationStrategy
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class ChoroplethColorizationStrategy : IColorizationStrategy, IMapLegendInfoProvider
Constructors
ChoroplethColorizationStrategy()
Initializes a new instance of the Choropleth
Declaration
public ChoroplethColorizationStrategy()
Properties
Colors
Gets or sets the colors.
Declaration
public List<Color> Colors { get; set; }
Property Value
System. The colors. |
ColorStops
Gets or sets the color stops.
Declaration
public List<double> ColorStops { get; set; }
Property Value
System. The color stops. |
ValueProvider
Gets or sets the value provider.
Declaration
public IColorizationValueProvider ValueProvider { get; set; }
Property Value
IColorization The value provider. |
Methods
ColorizeElement(MapGeometry)
Colorizes the provided element.
Declaration
public void ColorizeElement(MapGeometry colorizable)
Parameters
Map The colorizable. |
Implements
GetColorizerColor(Double)
Gets the color for the given value.
Declaration
protected virtual Color GetColorizerColor(double value)
Parameters
System. The value. |
Returns
System. Color. |
GetLegendInfo(MapLegendElement)
Gets the legend information need by the RadMap legend.
Declaration
public virtual List<MapLegendInfoItem> GetLegendInfo(MapLegendElement mapElement)
Parameters
Map The map element. |
Returns
System. 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
Map The colorizable. |
System. The value. |
Returns
System.
|