Skip to main content

TcxGridDBChartCategories Class

Categories in a data-aware Chart View.

Declaration

TcxGridDBChartCategories = class(
    TcxGridChartCategories
)

Remarks

A category is used to classify data for comparison. Data groups are used to create a hierarchy of data levels which determine the categories into which series values are grouped/aggregated, and provide the drill-down functionality in Chart Views.

The default categories provide a simple classification of series values without aggregation. In terms of databases, the default category stands for a data column which uniquely identifies and refers to the values (series values) within a data record.

Categories in data-aware Chart Views are represented by an instance of the TcxGridDBChartCategories class (the TcxGridChartCategories class in unbound Chart Views). This class provides the same abilities as its ancestor class and also allows you to bind the default categories to a specific data field in a dataset via the DataBinding.FieldName property of the DataBinding object.

To modify properties of the default categories at design time, you need to select the rightmost data level in a chart toolbox (provided that the View’s ToolBox.DataLevelsInfoVisible option is enabled) and switch to the Object Inspector.

See Also