Skip to main content
All docs
V25.1
  • SankeyDiagramControl.EmptySankeyText Property

    Contains settings of the text that is displayed when the SankeyDiagramControl has no data.

    Namespace: DevExpress.XtraCharts.Sankey

    Assembly: DevExpress.XtraCharts.v25.1.UI.dll

    NuGet Package: DevExpress.Win.Charts

    Declaration

    public EmptySankeyText EmptySankeyText { get; }

    Property Value

    Type Description
    EmptySankeyText

    Text displayed when the SankeyDiagramControl has no data.

    Remarks

    The following image demonstrates this default text:

    Empty sankey diagram default text

    The example below shows how to override the default text:

    sankeyDiagramControl1.EmptySankeyText.Text = "No data to display.";
    sankeyDiagramControl1.EmptySankeyText.Font = new Font("Tahoma", 16);
    

    Result:

    Empty sankey diagram example

    See Also