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


comparer

An IComparer object.


IConparer interface.

Performs a sort on a series' data points, using the IComparer interface.


Sorts points in the series using IComparer interface.

Syntax

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

Parameters

comparer

An IComparer object.


IConparer interface.

Remarks

This method utilizes the IComparer interface to perform a sort on the DataPoint objects in the series, and allows for sorting customization (e.g. case sensitive or insensitive, etc.).

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.