Skip to main content
All docs
V21.2

SankeyDiagramControl.EmptySankeyText Property

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

Namespace: DevExpress.Xpf.Charts.Sankey

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

Declaration

public EmptySankeyText EmptySankeyText { get; set; }

Property Value

Type Description
EmptySankeyText

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

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