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

TcxGridChartItem.SortOrder Property

Specifies the order in which to display chart item values.

#Declaration

Delphi
property SortOrder: TcxDataSortOrder read; write; default soNone;

#Property Value

Type Default
TcxDataSortOrder soNone

#Remarks

By default, chart item values are displayed in the order in which they are stored in the VisibleValues property. You can set the SortOrder property to modify the default plotting order.

The series whose values are sorted can be accessed via the View’s SortedSeries property. End-users are able to customize sorting applied to series using the Customization Form.

You can also use the SortOrder property of the default categories and data groups 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 a diagram’s AxisCategory.CategoriesInReverseOrder property to True.

The default value of the SortOrder property is soNone.

See Also