Skip to main content

TcxGridChartViewData.GetVisibleGroupValues(TcxGridChartDataGroup,TStrings,TVariantArray) Method

Returns values and display text strings of categories associated with a particular visible data group.

Declaration

procedure GetVisibleGroupValues(ADataGroup: TcxGridChartDataGroup; AStrings: TStrings; out AValues: TVariantArray);

Parameters

Name Type
ADataGroup TcxGridChartDataGroup
AStrings TStrings
AValues TVariantArray

Remarks

The ADataGroup parameter specifies the visible data group.

Category values associated with this data group and their string representations are returned as arrays via the AStrings and AValues parameters.

Note

When a visible data group and the data level associated with this data group cannot be activated, empty arrays are returned. For hidden data groups, the GetVisibleGroupValues method returns category values associated with the data group at the lowest level of detail (the first visible data group).

Use the View’s CanActivateDataLevel function to determine whether a visible data group/level can be activated.

See Also