Skip to main content
A newer version of this page is available. .
All docs
V20.2

SankeyViewOptions.NodeWidth Property

Gets or sets the node width in pixels.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public int NodeWidth { get; set; }

Property Value

Type Description
Int32

An integer number that specifies node width in pixels.

Property Paths

You can access this nested property as listed below:

Object Type Path to NodeWidth
SankeyDiagramControl
.ViewOptions .NodeWidth

Remarks

Use the NodeWidth property to specify the width of diagram nodes:

The code below sets the width of nodes to 50 pixels:

sankeyDiagramControl1.ViewOptions.NodeWidth = 50;
See Also