Series.Sort Method (PointSortOrder, String)

.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.

Sorts the points in the series, given the specified sort order and value to use for the sort.

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

public void Sort(
	PointSortOrder pointSortOrder,
	string sortBy
)

Parameters

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

The sort order.

sortBy
Type: System.String

The value used for the sort (X, Y, Y2 ...).

.NET Framework
Available since 4.0
Return to top
Show: