DataManipulator.Sort Method (PointSortOrder, String)

.NET Framework (current version)
 

Performs a sort on the data points in one or more series, using the specified order. The sort is based on the first Y-value of each of the data points.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public void Sort(
	PointSortOrder pointSortOrder,
	string seriesName
)

Parameters

pointSortOrder
Type: System.Web.UI.DataVisualization.Charting.PointSortOrder

A PointSortOrder enumeration value that determines if the sort is ascending or descending.

seriesName
Type: System.String

A comma-separated list of names of the Series to be sorted.

.NET Framework
Available since 4.0
Return to top
Show: