Skip to main content
All docs
V24.1

EmptySankeyText Class

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

Namespace: DevExpress.Xpf.Charts.Sankey

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public class EmptySankeyText :
    SankeyTextElement

The following members 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