Skip to main content

TcxGridChartView.FindSeriesByID(Integer) Method

Searches for a series within the View which has the specified identifier.

Declaration

function FindSeriesByID(AID: Integer): TcxGridChartSeries;

Parameters

Name Type
AID Integer

Returns

Type
TcxGridChartSeries

Remarks

Call the FindSeriesByID function to locate a series within the View according to the identifier which is assigned to the series via the ID property. This function returns the series with the identifier specified by the AID parameter. If no series is found, nil is returned.

A data-aware Chart View has the FindSeriesByFieldName method to locate series which are connected to specific dataset fields.

See Also