Applies to

Graph controls


The CategorySort property specifies how the categories are sorted: ascending, descending, or unsorted.


In a painter

To specify how the categories are sorted:

  • Select the desired sort type from the CategorySort drop-down list on the General page of the graph control's Properties view.

In scripts

The CategorySort property takes a value of the grSortType enumerated datatype, which has the values Ascending!, Descending!, Unsorted!, and UserDefinedSort!.

The following example specifies that the categories should be unsorted:

gr_1.CategorySort = Unsorted!