DataPointComparer.Compare(DataPoint, DataPoint) Method

Definition

Compares two data points.

public int Compare (System.Windows.Forms.DataVisualization.Charting.DataPoint x, System.Windows.Forms.DataVisualization.Charting.DataPoint y);

Parameters

x
DataPoint

First data point.

y
DataPoint

Second data point.

Returns

An integer value. Returns zero (0) if the two values are equal. Returns a positive integer if the value of x is greater than the value of y; otherwise, returns a negative integer.

Implements

Applies to

Produkt Verze
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1