編輯

共用方式為


DataPointComparer(Series, PointSortOrder, String) Constructor

Definition

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

public:
 DataPointComparer(System::Windows::Forms::DataVisualization::Charting::Series ^ series, System::Windows::Forms::DataVisualization::Charting::PointSortOrder sortOrder, System::String ^ sortBy);
public DataPointComparer (System.Windows.Forms.DataVisualization.Charting.Series series, System.Windows.Forms.DataVisualization.Charting.PointSortOrder sortOrder, string sortBy);
new System.Windows.Forms.DataVisualization.Charting.DataPointComparer : System.Windows.Forms.DataVisualization.Charting.Series * System.Windows.Forms.DataVisualization.Charting.PointSortOrder * string -> System.Windows.Forms.DataVisualization.Charting.DataPointComparer
Public Sub New (series As Series, sortOrder As PointSortOrder, sortBy As String)

Parameters

series
Series

Data series.

sortOrder
PointSortOrder

Sort order.

sortBy
String

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

Applies to