Performs a sort on a series' data points using the specified order. The sort is based on the first Y-value of data points.
Sort series data points in specified order.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Sort( _ ByVal order As PointsSortOrder, _ ByVal series As Series _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Sort( PointsSortOrder order, Series series ) |
Parameters
- order
- A PointsSortOrder enumeration value that determines if the sort is ascending or descending.
Sorting order. - series
- The Series object to be sorted.
Series to sort.
Perform an ascending sort on a series named "Series1" before data is displayed by the chart.
Visual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WinControl |
This method performs an ascending or descending sort on a series' data points, and is based on the first Y-value of the data points.
To sort points: based on their X-values (or other Y-values); using a custom sort routine; or for more than one series per function call use another definition of this overloaded method.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family