Skip to main content

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.

Default Value

The SortOrder property’s default value is soNone.

See Also