wpf-devexpress-dot-xpf-dot-treemap-dot-palettebase.md
Specifies how to distribute colors when the palette contains less colors than the number of chart items.
Namespace : DevExpress.Xpf.TreeMap
Assembly : DevExpress.Xpf.TreeMap.v25.2.dll
NuGet Package : DevExpress.Wpf.TreeMap
public PaletteScaleMode ScaleMode { get; set; }
Public Property ScaleMode As PaletteScaleMode
| Type | Description |
|---|---|
| PaletteScaleMode |
The mode that specifies how colors are distributed.
|
Available values:
| Name | Description |
|---|---|
| Repeat |
Palette colors are repeated for the last chart items.
| | Extrapolate |
The last chart items use palette colors with varying brightness.
|
The following code shows how to configure a treemap palette colorizer and specify its palette’s scale mode:
<dxtm:TreeMapControl.Colorizer>
<dxtm:TreeMapPaletteColorizer ColorizeGroups="True">
<dxtm:GreenYellowPalette ScaleMode="Extrapolate"/>
</dxtm:TreeMapPaletteColorizer>
</dxtm:TreeMapControl.Colorizer>
See Also