TcxGridChartDataGroup.SortOrder Property
Specifies the order in which the data group’s categories are displayed once this group becomes active.
Declaration
property SortOrder; default soAscending;
Property Value
Type | Default |
---|---|
TcxDataSortOrder | soAscending |
Remarks
By default, a data group’s categories are displayed in the order in which their values are stored in the VisibleValues property. You can set the SortOrder property to modify the default plotting order. A value of soNone cannot be assigned to this property.
Also you can use the SortOrder property of the default categories and series to apply sorting by their values.
Note
Sorting applied to series takes priority over sorting by default categories or a data group. Only a single type of sorting (either by default categories/a data group or series values) is active at one time within a chart.
To reverse the applied plotting order, set the View’s AxisCategory.CategoriesInReverseOrder property to True.
The default value of the SortOrder property is soAscending.