Class ChartOhlc
The open, high, low and close values for one period, plotted by TwCandlestickChart.
public sealed record ChartOhlc : IEquatable<ChartOhlc>
- Inheritance
-
ChartOhlc
- Implements
- Inherited Members
Constructors
ChartOhlc(string, double, double, double, double)
The open, high, low and close values for one period, plotted by TwCandlestickChart.
public ChartOhlc(string Label, double Open, double High, double Low, double Close)
Parameters
LabelstringThe period label shown on the axis, tooltips and table view.
OpendoubleThe opening value.
HighdoubleThe highest value.
LowdoubleThe lowest value.
ClosedoubleThe closing value.
Properties
Close
The closing value.
public double Close { get; init; }
Property Value
High
The highest value.
public double High { get; init; }
Property Value
Label
The period label shown on the axis, tooltips and table view.
public string Label { get; init; }
Property Value
Low
The lowest value.
public double Low { get; init; }
Property Value
Open
The opening value.
public double Open { get; init; }
Property Value
Methods
Deconstruct(out string, out double, out double, out double, out double)
public void Deconstruct(out string Label, out double Open, out double High, out double Low, out double Close)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartOhlc?)
public bool Equals(ChartOhlc? other)
Parameters
otherChartOhlc
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartOhlc?, ChartOhlc?)
public static bool operator ==(ChartOhlc? left, ChartOhlc? right)
Parameters
Returns
operator !=(ChartOhlc?, ChartOhlc?)
public static bool operator !=(ChartOhlc? left, ChartOhlc? right)