Skip to main content
All docs
V24.1

SankeyPaletteColorizer.Palette Property

Gets or sets a palette that should be applied to a Sankey diagram.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[Browsable(false)]
[TypeConverter(typeof(LocalizableCollectionTypeConverter))]
public Palette Palette { get; set; }

Property Value

Type Description
Palette

A palette that is applied to a diagram.

Remarks

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
};
See Also