dotnetCHARTING Send comments on this topic.
Sort(ElementValue,String,Int32,Int32) Method
See Also 
dotnetCHARTING Namespace > Series Class > Sort Method : Sort(ElementValue,String,Int32,Int32) Method


ev
ElementValue to sort by.
order
Takes "Desc" or "Asc" as inputs. If the string is not recognized "Asc" will be used.
startIndex
Index at which sorting starts.
endIndex
Index at which sorting stops.
Sorts the Elements based on an element property and order from the start index to the end index.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Sort( _
   ByVal ev As ElementValue, _
   ByVal order As String, _
   ByVal startIndex As Integer, _
   ByVal endIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim ev As ElementValue
Dim order As String
Dim startIndex As Integer
Dim endIndex As Integer
 
instance.Sort(ev, order, startIndex, endIndex)
C# 
public void Sort( 
   ElementValue ev,
   string order,
   int startIndex,
   int endIndex
)

Parameters

ev
ElementValue to sort by.
order
Takes "Desc" or "Asc" as inputs. If the string is not recognized "Asc" will be used.
startIndex
Index at which sorting starts.
endIndex
Index at which sorting stops.

See Also

© 2016 All Rights Reserved.