Class Ohlc
Represents a struct, which defines a set of four values - High, Low, Open, Close.
Inheritance
Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public sealed class Ohlc : ValueType
Constructors
Ohlc(Double, Double, Double, Double)
Initializes a new instance of the Ohlc structure.
Declaration
public Ohlc(double high, double low, double open, double close)
Parameters
System.Double
high
The high value. |
System.Double
low
The low value. |
System.Double
open
The open value. |
System.Double
close
The close value. |
Properties
Close
Gets or sets the close value.
Declaration
public double Close { get; set; }
Property Value
System.Double
The close value. |
High
Gets or sets the high value.
Declaration
public double High { get; set; }
Property Value
System.Double
The high value. |
Low
Gets or sets the low value.
Declaration
public double Low { get; set; }
Property Value
System.Double
The low value. |
Open
Gets or sets the open value.
Declaration
public double Open { get; set; }
Property Value
System.Double
The open value. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with the current object. |
Returns
System.Boolean
True if the specified System.Object is equal to the current System.Object; otherwise, false. |
Equals(Ohlc)
Declaration
public bool Equals(Ohlc obj)
Parameters
Ohlc
obj
The object to compare with the current object. |
Returns
System.Boolean
True if the specified Ohlc is equal to the current Ohlc; otherwise, false. |
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |
Operators
Equality(Ohlc, Ohlc)
Implements the operator ==.
Declaration
public static bool operator ==(Ohlc ohlc1, Ohlc ohlc2)
Parameters
Ohlc
ohlc1
The first Ohlc struct. |
Ohlc
ohlc2
The second Ohlc struct. |
Returns
System.Boolean
The result of the operator. |
Inequality(Ohlc, Ohlc)
Implements the operator !=.
Declaration
public static bool operator !=(Ohlc ohlc1, Ohlc ohlc2)
Parameters
Ohlc
ohlc1
The first Ohlc struct. |
Ohlc
ohlc2
The second Ohlc struct. |
Returns
System.Boolean
The result of the operator. |