Skip to main content

WebChartControl.EmptyChartText Property

Provides access to the settings of the text to be displayed in the WebChartControl, when it has no data to display.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v24.2.Web.dll

Declaration

public EmptyChartText EmptyChartText { get; }

Property Value

Type Description
EmptyChartText

An EmptyChartText object, representing the empty chart text options.

Remarks

Use the EmptyChartText to access and specify the options of the text displayed by a chart at runtime if the chart has no data to display.

EmptyChartText

Note

The text that notifies that the chart has no data to display appears at runtime in the following cases:

  • when the SimpleDiagram is used with an empty point series;
  • when it is impossible to determine the diagram type because no Series are added and/or the series template is not defined.

To access options of the text that indicate that the chart is too small for its diagram to be drawn, use the WebChartControl.SmallChartText property.

For the ChartControl, use the similar ChartControl.EmptyChartText property.

See Also