All docs
V21.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.

SunburstGroupGradientColorizer.Mode Property

Gets or sets the mode that defines how to distribute a gradient across sectors.

Namespace: DevExpress.Xpf.TreeMap

Assembly: DevExpress.Xpf.TreeMap.v21.2.dll

Declaration

public GradientColorizerMode Mode { get; set; }

Property Value

Type Description
GradientColorizerMode

The gradient distribution’s mode.

Available values:

Name Description Image
ByGroupLevel

Sectors have the same color if they belong to the same top-level sector. A color’s transparency increases from the top-level sectors to low-level sectors.

ByItemIndex

Sectors in the same group have the same base color. A color’s transparency increases with higher indexes in this group.

Remarks

The following table lists available modes:

Mode Image Description
GradientColorizerMode.ByGroupLevel (default) Sectors have the same base color if they belong to the same top-level sector. A color’s transparency increases from the top-level sectors to low-level sectors.
GradientColorizerMode.ByItemIndex Sectors in the same group have the same base color. A color’s transparency increases when the sector index is increased.

Example

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

<dxtm:SunburstControl>
    <dxtm:SunburstGroupGradientColorizer Mode="ByItemIndex" 
                                         Max="1" Min="0.6" 
                                         GradientColor="Black">
        <dxtm:SunburstGroupGradientColorizer.Palette>
            <dxtm:NorthernLightsPalette/>
        </dxtm:SunburstGroupGradientColorizer.Palette>
    </dxtm:SunburstGroupGradientColorizer>
</dxtm:SunburstControl>
See Also