Skip to main content
All docs
V24.1

SankeyTitle.Dock Property

Gets or sets the diagram edge to which the title is docked.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public SankeyTitleDockStyle Dock { get; set; }

Property Value

Type Description
SankeyTitleDockStyle

Specifies how the title is arranged within the diagram.

Available values:

Name Description Image
Top

The title is docked to the top of the diagram.

Bottom

The title is docked to the bottom of the diagram.

Left

The title is docked to the left side of the diagram.

Right

The title is docked to the right side of the diagram.

Remarks

The following code creates a title and adds it to a Sankey diagram:

sankeyDiagramControl1.Titles.Add(new SankeyTitle {
    Text = "Export/Import", 
    Dock = SankeyTitleDockStyle.Top, 
    Indent = 100 
});

Related API members:

  • SankeyTextElement.Text - Gets or sets element text.
  • SankeyTitle.Dock - Gets or sets the diagram edge to which the title is docked.
  • SankeyTitle.Indent - Specifies the distance between the title and diagram content, in pixels.
See Also