Table of Contents

Class ChartRange

Namespace
TwBlazor.Models
Assembly
TwBlazor.dll

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

Label string

The label shown on the axis, tooltips and table view.

Low double

The low end of the range.

High double

The high end of the range.

Properties

High

The high end of the range.

public double High { get; init; }

Property Value

double

Label

The label shown on the axis, tooltips and table view.

public string Label { get; init; }

Property Value

string

Low

The low end of the range.

public double Low { get; init; }

Property Value

double

Methods

Deconstruct(out string, out double, out double)

public void Deconstruct(out string Label, out double Low, out double High)

Parameters

Label string
Low double
High double

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartRange?)

public bool Equals(ChartRange? other)

Parameters

other ChartRange

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartRange?, ChartRange?)

public static bool operator ==(ChartRange? left, ChartRange? right)

Parameters

left ChartRange
right ChartRange

Returns

bool

operator !=(ChartRange?, ChartRange?)

public static bool operator !=(ChartRange? left, ChartRange? right)

Parameters

left ChartRange
right ChartRange

Returns

bool