CategorySort

Applies to

Graph controls

Description

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

Usage


In a painter

StepsTo specify how the categories are sorted:

  1. 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!