Skip to main content
A newer version of this page is available. .

TcxGridChartCategories.SortOrder Property

Specifies the order in which the values of the default categories are sorted.

Declaration

property SortOrder: TcxDataSortOrder read; write; default soNone;

Property Value

Type Default
TcxDataSortOrder soNone

Remarks

The SortOrder property value directly affects the appearance of the default categories within the chart. By default, the default categories are displayed in the order in which their values are stored in the View’s data controller. The default plotting order of the default categories can be modified by applying sorting to them either via the SortOrder property or via the SortOrder property of the series.

Note

The sorting applied to the series takes priority over the sorting by the default categories or data group. Only a single type of sorting (either by the default categories/data group or series values) is active at a time within the chart.

To reverse the plotting order specified by these properties, set the category axis’s CategoriesInReverseOrder property to True.

The default value of the SortOrder property is soNone.

See Also