dotnetCHARTING Send comments on this topic.
Sort Method
See Also 
dotnetCHARTING Namespace > SeriesCollection Class : Sort Method


ev
ElementValue to sort by.
order
Takes "Desc" or "Asc" as inputs. If the string is not recognized "Asc" will be used.
Sorts the Series based on an element property and order.

Syntax

Visual Basic (Declaration)  
Public Sub Sort( _
   ByVal ev As ElementValue, _
   ByVal order As String _
) 
Visual Basic (Usage) Copy Code
Dim instance As SeriesCollection
Dim ev As ElementValue
Dim order As String
 
instance.Sort(ev, order)
C#  
public void Sort( 
   ElementValue ev,
   string order
)

Parameters

ev
ElementValue to sort by.
order
Takes "Desc" or "Asc" as inputs. If the string is not recognized "Asc" will be used.

See Also