corelibraries-devexpress-dot-xtracharts-dot-sankey-dot-sankeypalettecolorizer.md
Gets or sets a palette that should be applied to a Sankey diagram.
Namespace : DevExpress.XtraCharts.Sankey
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[Browsable(false)]
public Palette Palette { get; set; }
<Browsable(False)>
Public Property Palette As Palette
| Type | Description |
|---|---|
| Palette |
A palette that is applied to a diagram.
|
A new color from the palette is applied to each node with a unique label. Colors repeat if the number of unique labels exceeds the number of palette colors. To apply a gradient fill to links, the control utilizes the source and target node colors.
The code below specifies a diagram’s palette and link color:
sankeyDiagramControl1.Colorizer = new SankeyPaletteColorizer {
Palette = Palettes.NorthernLights,
LinkColor = Color.Gray
};
sankeyDiagramControl1.Colorizer = New SankeyPaletteColorizer With {
.Palette = Palettes.NorthernLights,
.LinkColor = Color.Gray
}
See Also