Class ChartRange
A labelled span between two values, plotted by TwRangeChart.
public sealed record ChartRange : IEquatable<ChartRange>
- Inheritance
-
ChartRange
- Implements
- Inherited Members
Constructors
ChartRange(string, double, double)
A labelled span between two values, plotted by TwRangeChart.
public ChartRange(string Label, double Low, double High)
Parameters
LabelstringThe label shown on the axis, tooltips and table view.
LowdoubleThe low end of the range.
HighdoubleThe high end of the range.
Properties
High
The high end of the range.
public double High { get; init; }
Property Value
Label
The label shown on the axis, tooltips and table view.
public string Label { get; init; }
Property Value
Low
The low end of the range.
public double Low { get; init; }
Property Value
Methods
Deconstruct(out string, out double, out double)
public void Deconstruct(out string Label, out double Low, out double High)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartRange?)
public bool Equals(ChartRange? other)
Parameters
otherChartRange
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartRange?, ChartRange?)
public static bool operator ==(ChartRange? left, ChartRange? right)
Parameters
leftChartRangerightChartRange
Returns
operator !=(ChartRange?, ChartRange?)
public static bool operator !=(ChartRange? left, ChartRange? right)
Parameters
leftChartRangerightChartRange