Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataPointComparer Constructor
Collapse the table of content
Expand the table of content

DataPointComparer Constructor

.NET Framework 4.6 and 4.5

Initializes a new instance of the DataPointComparer class with the specified data series, sort order and sort value.

Namespace:  System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public DataPointComparer(
	Series series,
	PointSortOrder sortOrder,
	string sortBy
)

Parameters

series
Type: System.Windows.Forms.DataVisualization.Charting.Series

Data series.

sortOrder
Type: System.Windows.Forms.DataVisualization.Charting.PointSortOrder

Sort order.

sortBy
Type: System.String

Value used for the sort, for example, "X", "Y or Y1", "Y2", and so forth.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft