Skip to main content

TcxGridChartItem.SortOrder Property

Specifies the order in which to display chart item values.

Declaration

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