Skip to main content

TcxGridChartHistogramAxisCategory.CategoriesInReverseOrder Property

Specifies whether categories represented by the category axis are displayed in reverse order.

Declaration

property CategoriesInReverseOrder: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

By default, categories are displayed in the order in which their values are stored in the View’s data controller. The following options affect the plotting order of categories:

  • Diagram type. In column, line, and area diagrams, categories are displayed from left to right. In bar diagrams, they are plotted from bottom to top.

  • Sorting order applied to categories (via the View’s Categories.SortOrder property).

  • Sorting order applied to a particular series (via the SortOrder property of this series).

Set the CategoriesInReverseOrder property to True to reverse the plotting order specified by the options above. Note that this only changes display order and doesn’t affect the order in which category and series values are stored in the Values, VisibleValues, and VisibleDisplayTexts collections.

The default value of the CategoriesInReverseOrder property is False.

See Also