TreeMapRangeColorizer.RangeStops Property
Gets range stops for the range colorizer.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.TreeMap, DevExpress.Wpf.TreeMap
Declaration
Property Value
Type | Description |
---|---|
DoubleCollection | A collection of Double values specifying range stops. |
Example
To color tree map items using the Range Colorizer, do the following.
- Assign a newly created TreeMapRangeColorizer object to the TreeMapControl.Colorizer property.
- Specify the required palette using the TreeMapPaletteColorizerBase.Palette property.
- Add the required range stops to the
TreeMapRangeColorizer.RangeStops
property. - Optionally, specify the TreeMapRangeColorizer.GroupColor property.
<dxtm:TreeMapControl.Colorizer>
<dxtm:TreeMapRangeColorizer
RangeStops="1 2 4 8 16 32">
<dxtm:CustomPalette>
<Color>#FF5A19</Color>
<Color>#FEAD2D</Color>
<Color>#E5E335</Color>
<Color>#ACE45C</Color>
<Color>#6EC95C</Color>
</dxtm:CustomPalette>
</dxtm:TreeMapRangeColorizer>
</dxtm:TreeMapControl.Colorizer>
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RangeStops property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.