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

SankeyTitle.Indent Property

Specifies the distance between the title and diagram content, in pixels.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v20.2.dll

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

Declaration

public int Indent { get; set; }

Property Value

Type Description
Int32

An integer that specifies the indent in pixels.

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