Skip to main content

TcxGridChartView.FindDiagramByDisplayText(string) Method

Searches for a diagram with the specified display text.

Declaration

function FindDiagramByDisplayText(const ADisplayText: string): TcxGridChartDiagram;

Parameters

Name Type Description
ADisplayText string

The required display text string.

Returns

Type Description
TcxGridChartDiagram

Returns the diagram whose DisplayText property value matches the ADisplayText parameter value.

If the Chart View has no such diagrams, the function returns nil (in Delphi) or nullptr (in C++Builder).

See Also