Table of Contents

Class ChartDatumRow

Namespace
TwBlazor.Charting
Assembly
TwBlazor.dll

One line of a tooltip: a label, its formatted value and an optional color key.

public sealed record ChartDatumRow : IEquatable<ChartDatumRow>
Inheritance
ChartDatumRow
Implements
Inherited Members

Constructors

ChartDatumRow(string, string, ChartColor?)

One line of a tooltip: a label, its formatted value and an optional color key.

public ChartDatumRow(string Label, string Value, ChartColor? Color = null)

Parameters

Label string
Value string
Color ChartColor?

Properties

Color

public ChartColor? Color { get; init; }

Property Value

ChartColor?

Label

public string Label { get; init; }

Property Value

string

Value

public string Value { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out ChartColor?)

public void Deconstruct(out string Label, out string Value, out ChartColor? Color)

Parameters

Label string
Value string
Color ChartColor?

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartDatumRow?)

public bool Equals(ChartDatumRow? other)

Parameters

other ChartDatumRow

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartDatumRow?, ChartDatumRow?)

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

Parameters

left ChartDatumRow
right ChartDatumRow

Returns

bool

operator !=(ChartDatumRow?, ChartDatumRow?)

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

Parameters

left ChartDatumRow
right ChartDatumRow

Returns

bool