Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridChartCategories.SortOrder Property

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

#Declaration

Delphi
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