SunburstControl.Colorizer Property
Gets or sets a colorizer that is applied to the Sunburst’s sectors.
Namespace: DevExpress.Xpf.TreeMap
Assembly: DevExpress.Xpf.TreeMap.v24.1.dll
NuGet Package: DevExpress.Wpf.TreeMap
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Xpf.TreeMap.SunburstColorizerBase | The colorizer that is used to paint the Sunburst chart. |
Remarks
The Sunburst control uses colorizers to paint its sectors based on conditions. To apply a colorizer to a Sunburst chart, initialize the Colorizer property with an object of one of the following classes:
To implement a custom colorizer, create a class that is derived from SunburstPaletteColorizerBase.
Example
The following code uses a SunburstPaletteColorizer to paint 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