Skip to main content

ChoroplethColorizer.RangeStops Property

Gets range stops for the Choropleth colorizer.

Namespace: DevExpress.UI.Xaml.Map

Assembly: DevExpress.UI.Xaml.Map.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public DoubleCollection RangeStops { get; set; }

Property Value

Type Description
Windows.UI.Xaml.Media.DoubleCollection

A collection of double values that represents colorizer range stops.

Remarks

Use the RangeStops property to get access to the collection of range stops to automatically color map shapes with the Choropleth colorizer.

Example

To create a analytical map, it is necessary to use the ChoroplethColorizer class. Perform the following steps to create the map.

<Map:MapControl.Colorizer>
    <Map:ChoroplethColorizer 
        RangeStops="0 3000 10000 18000 28000 44000 82000 185000 1000000 2500000 15000000">
        <Map:ChoroplethColorizer.ValueProvider>
            <Map:ShapeAttributeValueProvider AttributeName="GDP_MD_EST"/>
        </Map:ChoroplethColorizer.ValueProvider>
        <Map:ChoroplethColorizer.Colors>
            <Color>#FFFF5A19</Color>
            <Color>#FFE5E335</Color>
            <Color>#FF6EC95C</Color>
        </Map:ChoroplethColorizer.Colors>
        <Map:ChoroplethColorizer.Legend>
            <Map:ColorScaleLegend Margin="0" Header="GDP by Countries" Description="In US dollars"
                                  RangeStopsFormat="0,B" MinWidth="400" FontSize="10"/>
        </Map:ChoroplethColorizer.Legend>
    </Map:ChoroplethColorizer>
</Map:MapControl.Colorizer>
See Also