DataManipulator.Sort Method (PointSortOrder, Series)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Performs a sort on the data points in a 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,
	Series series
)

Parameters

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

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

series
Type: System.Web.UI.DataVisualization.Charting.Series

The Series object to be sorted.

.NET Framework
Available since 4.0
Return to top
Show: