Class
ChoroplethColorizationStrategy

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class ChoroplethColorizationStrategy : IColorizationStrategy, IMapLegendInfoProvider

Inheritance: objectChoroplethColorizationStrategy

Implements: IColorizationStrategyIMapLegendInfoProvider

Constructors

ChoroplethColorizationStrategy()

Initializes a new instance of the ChoroplethColorizationStrategy class.

Declaration

cs-api-definition
public ChoroplethColorizationStrategy()

Properties

ColorStops

Gets or sets the color stops.

Declaration

cs-api-definition
public List<double> ColorStops { get; set; }

Property Value

List<double>

The color stops.

Colors

Gets or sets the colors.

Declaration

cs-api-definition
public List<Color> Colors { get; set; }

Property Value

List<Color>

The colors.

ValueProvider

Gets or sets the value provider.

Declaration

cs-api-definition
public IColorizationValueProvider ValueProvider { get; set; }

Property Value

IColorizationValueProvider

The value provider.

Methods

ColorizeElement(MapGeometry)

Colorizes the provided element.

Declaration

cs-api-definition
public void ColorizeElement(MapGeometry colorizable)

Parameters

colorizable

MapGeometry

The colorizable.

Implements IColorizationStrategy.ColorizeElement(MapGeometry)

GetColorizerColor(double)

Gets the color for the given value.

Declaration

cs-api-definition
protected virtual Color GetColorizerColor(double value)

Parameters

value

double

The value.

Returns

Color

Color.

GetLegendInfo(MapLegendElement)

Gets the legend information need by the RadMap legend.

Declaration

cs-api-definition
public virtual List<MapLegendInfoItem> GetLegendInfo(MapLegendElement mapElement)

Parameters

mapElement

MapLegendElement

The map element.

Returns

List<MapLegendInfoItem>

List<MapLegendInfoItem>.

Implements IMapLegendInfoProvider.GetLegendInfo(MapLegendElement)

TryGetValue(MapGeometry, out double)

Tries the get the value of the given geometry.

Declaration

cs-api-definition
protected virtual bool TryGetValue(MapGeometry colorizable, out double value)

Parameters

colorizable

MapGeometry

The colorizable.

value

double

The value.

Returns

bool

true if XXXX, false otherwise.