Sort Method (PointSortOrder, String, Series)

DataManipulator.Sort Method (PointSortOrder, String, Series)

.NET Framework (current version)

Performs a sort on the data points in a series using the specified order. The sort can be based on any available data point value.

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

public void Sort(
	PointSortOrder pointSortOrder,
	string sortBy,
	Series series


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

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

Type: System.String

A string value that represents the data point values to be sorted. Possible values are: "X", "Y", "Y2", "Y3", "AxisLabel", and so forth.

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

The Series object to be sorted.

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft