Applies to

Graph controls


The SeriesSort property specifies how the series are sorted: ascending, descending, or unsorted.


In a painter

To specify how the series are sorted:

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

In scripts

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

The following example specifies that the series should be unsorted:

gr_1.SeriesSort = Unsorted!