DoubleAxisDelta
Defines a Double Delta, which provides Major and Minor deltas as used in NumericAxis
Implements: IAxisDelta<double>, IAxisDelta, ICloneable, IEquatable<DoubleAxisDelta>
Constructors
public DoubleAxisDelta()
doubleAxisDelta = DoubleAxisDelta()
Initializes a new instance of the DoubleAxisDelta class.
public DoubleAxisDelta(double minorDelta, double majorDelta)
doubleAxisDelta = DoubleAxisDelta(minorDelta, majorDelta)
Initializes a new instance of the DoubleAxisDelta class.
- minorDelta
- The minor delta.
- majorDelta
- The major delta.
Properties
public double MajorDelta { get; set; }
value = doubleAxisDelta.MajorDelta
doubleAxisDelta.MajorDelta = value
Gets or sets the major delta.
public double MinorDelta { get; set; }
value = doubleAxisDelta.MinorDelta
doubleAxisDelta.MinorDelta = value
Gets or sets the minor delta.
Methods
public override bool Equals(object obj)
result = doubleAxisDelta.Equals(obj)
Determines whether the specified Object is equal to this instance.
- obj
- The Object to compare with the current Object.
Returns: true if the specified Object is equal to this instance; otherwise, false.
public bool Equals(DoubleAxisDelta other)
result = doubleAxisDelta.Equals(other)
Indicates whether the current object is equal to another object of the same type.
- other
- An object to compare with this object.
Returns: true if the current object is equal to the parameter; otherwise, false.
public override int GetHashCode()
result = doubleAxisDelta.GetHashCode()
Returns a hash code for this instance.
Returns: A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
public static bool op_Equality(DoubleAxisDelta left, DoubleAxisDelta right)
result = DoubleAxisDelta.op_Equality(left, right)
Implements the operator ==.
- left
- The left.
- right
- The right.
Returns: The result of the operator.
public static bool op_Inequality(DoubleAxisDelta left, DoubleAxisDelta right)
result = DoubleAxisDelta.op_Inequality(left, right)
Implements the operator !=.
- left
- The left.
- right
- The right.
Returns: The result of the operator.
public override string ToString()
result = doubleAxisDelta.ToString()
Returns a String that represents this instance.
Returns: A String that represents this instance.