SunburstGradientColorizer.Max Property
The color intensity of the sunburst top level items.
Namespace: DevExpress.XtraTreeMap
Assembly: DevExpress.XtraTreeMap.v18.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Double | 1 | The Double value in the [0,1] range. |
Example
This example demonstrates how to use SunburstGradientColorizer to color sunburst items.
The Gradient Colorizer allows coloring a sunburst’s items or item groups using gradients. Color intensity depends on the value that an item has. Assign a SunburstGradientColorizer object to the SunburstControl.Colorizer property to color a sunburst’s items using gradients.
You can use the SunburstGradientColorizer.Min and SunburstGradientColorizer.Max
properties to set the color transparency for items with minimum and maximum values.
Use the SunburstGradientColorizer.Mode property to specify a gradient distribution mode.
The SunburstGradientColorizer.GradientColor property sets the color that is mixed with an item’s color.
Use the SunburstPaletteColorizerBase.Palette property to define a palette the colorizer uses to paint items.
sunburst.Colorizer = new SunburstGradientColorizer {
Min = 0.6,
Max = 1,
Mode = GradientColorizerMode.ByGroupLevel,
GradientColor = Color.White,
Palette = Palette.Office2019Palette
};