vcl-cxgridchartview-dot-tcxgridchartviewdata.md
Provides indexed access to values of the default categories associated with the View.
property Categories[AIndex: Integer]: Variant read; write;
| Type | Description |
|---|---|
| Variant |
A default category value.
|
Use the Categories property to access and modify a specific category value provided by the data controller for displaying within the View. The AIndex parameter specifies the index of the category value in the collection of category values. Alternatively, you can use the View’s Categories.Values collection for this purpose.
Use the VisibleCategories collection to access values of the default categories that are currently displayed in the View.
Note
The View’s Categories.SortOrder property and the SortOrder property of series and data groups don’t affect the order in which category values are stored within the Categories collection.
See Also
TcxGridChartView.Categories Property