Skip to main content

TcxGridChartItem.VisibleIndex Property

Determines the position of the chart item (a series or data group) within the VisibleSeries or VisibleDataGroups collection.

Declaration

property VisibleIndex: Integer read;

Property Value

Type
Integer

Remarks

For hidden chart items, the VisibleIndex property returns -1.

Use the View’s VisibleSeriesCount and VisibleDataGroupCount properties to obtain the total number of elements in these collections.

To access all series and data groups contained within a Chart View, use the View’s Series and DataGroups collections, respectively. The position of a chart item in these collections is specified by the item’s Index property.

See Also