Dundas Chart for ASP.NET
Sort(PointsSortOrder) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Series Class > Sort Method : Sort(PointsSortOrder) Method


order

A PointsSortOrder enumeration value that determines if the sort on the first Y-value is ascending or descending.


Sorting order.

Performs a sort on a series' data points using the first Y-value of data points, with the specified sort order.


Sorts points in the series.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Sort( _
   ByVal order As PointsSortOrder _
) 
Visual Basic (Usage) Copy Code
Dim instance As Series
Dim order As PointsSortOrder
 
instance.Sort(order)
C#  
public void Sort( 
   PointsSortOrder order
)

Parameters

order

A PointsSortOrder enumeration value that determines if the sort on the first Y-value is ascending or descending.


Sorting order.

Remarks

This method performs an ascending or descending sort on the first Y-value of a series' data points.

To perform a sort on X-values or other Y-values use the Sort(PointsSortOrder,string) definition of this overloaded method instead.

The DataManipulator class also exposes an overloaded Sort method, which can perform a sort on multiple series.

Requirements

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

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.