Back to Devexpress

SankeyDiagramControl.NodeLabel Property

windowsforms-devexpress-dot-xtracharts-dot-sankey-dot-sankeydiagramcontrol-8a20f50e.md

latest2.4 KB
Original Source

SankeyDiagramControl.NodeLabel Property

Provides access to node label settings.

Namespace : DevExpress.XtraCharts.Sankey

Assembly : DevExpress.XtraCharts.v25.2.UI.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public SankeyNodeLabel NodeLabel { get; }
vb
Public ReadOnly Property NodeLabel As SankeyNodeLabel

Property Value

TypeDescription
SankeyNodeLabel

Contains settings for node labels.

|

Remarks

Use the following properties to customize node label options:

FontMaxLineCountMaxWidthTextAlignmentTextOrientation

csharp
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);
vb
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

SankeyDiagramControl Class

SankeyDiagramControl Members

DevExpress.XtraCharts.Sankey Namespace