Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridChartView.FindDiagramByDisplayText(string) Method

Searches for a diagram with the specified display text.

#Declaration

Delphi
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