PaletteBase.ScaleMode Property
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.v24.2.dll
NuGet Package: DevExpress.Wpf.TreeMap
Declaration
Property Value
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. |
Remarks
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