Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataManipulator.Sort Method (PointSortOrder, String, Series)

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4
© 2015 Microsoft