Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public PaletteScaleMode ScaleMode { get; set; }

#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