Skip to main content
All docs
V25.1
  • SankeyViewOptions.NodeWidth Property

    Gets or sets the node width in pixels.

    Namespace: DevExpress.XtraCharts.Sankey

    Assembly: DevExpress.XtraCharts.v25.1.dll

    NuGet Package: DevExpress.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