Class ChartDoubleComparer
Represents ChartDoubleComparer
Inheritance
System.Object
ChartDoubleComparer
Implements
System.Collections.Generic.IComparer<System.Double>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartDoubleComparer : IComparer<double>
Constructors
ChartDoubleComparer(Boolean)
Initializes a new instance of the ChartDoubleComparer class.
Declaration
public ChartDoubleComparer(bool inversed)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | inversed | if set to |
Methods
Compare(Double, Double)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public int Compare(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The first object to compare. |
System.Double | y | The second object to compare. |
Returns
Type | Description |
---|---|
System.Int32 | Value Condition Less than zero x is less than y.Zero x equals y.Greater than zero x is greater than y. |
Implements
System.Collections.Generic.IComparer<T>