MindFusion.Charting Programmer's Guide

SortOrder Enumeration

See Also
 





Specifies different options for sorting numbers in data series.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public enum SortOrder

Visual Basic  Copy Code

Public Enumeration SortOrder

JavaScript  Copy Code

// enum
SortOrder = {}

 Members

  Member name Description

Ascending

The numbers are sorted in ascending order.

Descending

The numbers are sorted in descending order.

None

The numbers are not sorted.

 Remarks

The Enumeration specifies how individual numbers in the data series are sorted. The sorting is performed on each number compared to the other numbers in the same series. This sorting is different from SortSeriesBy, where the whole lists are sorted and compared to each other.

The sorting can be applied on all data properties - XData, YData and Data. When any of the data lists is rearranged, the labels lists are rearranged in the same order.

The property that sets / gets the sorting in the charts is called SortOrder.

 See Also