All docs
V20.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

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.v20.2.dll

Declaration

public bool VaryColorInGroup { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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:SunburstControl>
    <dxtm:SunburstControl.Colorizer>
        <dxtm:SunburstPaletteColorizer VaryColorInGroup="True">
            <dxtm:SunburstPaletteColorizer.Palette>
                <dxtm:NorthernLightsPalette/>
            </dxtm:SunburstPaletteColorizer.Palette>               
        </dxtm:SunburstPaletteColorizer>
    </dxtm:SunburstControl.Colorizer>
</dxtm:SunburstControl>
See Also