Xceed Chart for WinForms v4.4 Documentation
Sort(DataSeriesSortOrder,IComparer) Method


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > DataSeriesCollection Class > Sort Method : Sort(DataSeriesSortOrder,IComparer) Method
the desired order
custom coparer object
Sorts the contained data series in the specified sort manner, by using a specified comparer.
Syntax
'Declaration
 
Public Overloads Sub Sort( _
   ByVal order As DataSeriesSortOrder, _
   ByVal comparer As IComparer _
) 
'Usage
 
Dim instance As DataSeriesCollection
Dim order As DataSeriesSortOrder
Dim comparer As IComparer
 
instance.Sort(order, comparer)
public void Sort( 
   DataSeriesSortOrder order,
   IComparer comparer
)

Parameters

order
the desired order
comparer
custom coparer object
Remarks
The sort is performed on the data series specified by the MasterDataSeries property.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataSeriesCollection Class
DataSeriesCollection Members
Overload List