Skip to main content
A newer version of this page is available. .
All docs
V21.1

SankeyDiagramControl.NodeLabel Property

Provides access to node label settings.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v21.1.UI.dll

NuGet Packages: DevExpress.Win.Charts, DevExpress.Win.Design

Declaration

public SankeyNodeLabel NodeLabel { get; }

Property Value

Type Description
SankeyNodeLabel

Contains settings for node labels.

Remarks

Use the following properties to customize node label options:

Font MaxLineCount MaxWidth TextAlignment TextOrientation

sankeyDiagramControl1.NodeLabel.TextOrientation = TextOrientation.TopToBottom;
sankeyDiagramControl1.NodeLabel.MaxWidth = 200;
sankeyDiagramControl1.NodeLabel.MaxLineCount = 1;
sankeyDiagramControl1.NodeLabel.TextAlignment = StringAlignment.Center;
sankeyDiagramControl1.NodeLabel.Font = new Font(FontFamily.GenericSerif, 10);
See Also