Skip to main content
All docs

SunburstPaletteColorizer.VaryColorInGroup Property

Gets or sets the value that specifies whether to use different colors to paint each sector in the same group.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v23.1.dll

NuGet Package: DevExpress.Wpf.TreeMap


public bool VaryColorInGroup { get; set; }

Property Value

Type Description

true if sectors in the same group have different colors; otherwise, false.


The following images show a Sunburst chart with different VaryColorInGroup property values:

VaryColorInGroup = false VaryColorInGroup = true
Sectors have the same color if they belong to the same top-level sector. The first sector in the group uses the first color in the palette. Each subsequent sector in the group uses the next color in the palette.

The following code configures and applies a SunburstPaletteColorizer to a Sunburst chart:

        <dxtm:SunburstPaletteColorizer VaryColorInGroup="True">
See Also