Back to Devexpress

SankeyViewOptions.NodeWidth Property

corelibraries-devexpress-dot-xtracharts-dot-sankey-dot-sankeyviewoptions-52bcde17.md

latest1.9 KB
Original Source

SankeyViewOptions.NodeWidth Property

Gets or sets the node width in pixels.

Namespace : DevExpress.XtraCharts.Sankey

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public int NodeWidth { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Layout)>
Public Property NodeWidth As Integer

Property Value

TypeDescription
Int32

An integer number that specifies node width in pixels.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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:

csharp
sankeyDiagramControl1.ViewOptions.NodeWidth = 50;
vb
sankeyDiagramControl1.ViewOptions.NodeWidth = 50

See Also

SankeyViewOptions Class

SankeyViewOptions Members

DevExpress.XtraCharts.Sankey Namespace