All docs
V20.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

EmptySankeyText Class

Displays the text that indicates that the SankeyDiagramControl has no data.

Namespace: DevExpress.Xpf.Charts.Sankey

Assembly: DevExpress.Xpf.Charts.v20.2.dll

Declaration

public class EmptySankeyText :
    SankeyTextElement

The following members accept/return EmptySankeyText objects:

Remarks

The following image demonstrates the default text.

Empty sankey diagram default text

The example below shows how to override the default text.

<dxsa:SankeyDiagramControl.EmptySankeyText>
  <dxsa:EmptySankeyText>
      <dxsa:EmptySankeyText.ContentTemplate>
          <DataTemplate>
              <TextBlock  Foreground="Gray" 
                          FontSize="16" 
                          Text="No data to display."/>
          </DataTemplate>
      </dxsa:EmptySankeyText.ContentTemplate>
  </dxsa:EmptySankeyText>
</dxsa:SankeyDiagramControl.EmptySankeyText>

Empty sankey diagram example

See Also