Table of Contents

Class ChartSample

Namespace
TwBlazor.Models
Assembly
TwBlazor.dll

A labelled set of raw observations, summarised by the distribution charts (TwBoxPlotChart and TwStripPlotChart).

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

Constructors

ChartSample(string, IReadOnlyList<double>)

A labelled set of raw observations, summarised by the distribution charts (TwBoxPlotChart and TwStripPlotChart).

public ChartSample(string Label, IReadOnlyList<double> Values)

Parameters

Label string

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

Values IReadOnlyList<double>

The raw observations in the group.

Properties

Label

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

public string Label { get; init; }

Property Value

string

Values

The raw observations in the group.

public IReadOnlyList<double> Values { get; init; }

Property Value

IReadOnlyList<double>

Methods

Deconstruct(out string, out IReadOnlyList<double>)

public void Deconstruct(out string Label, out IReadOnlyList<double> Values)

Parameters

Label string
Values IReadOnlyList<double>

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartSample?)

public bool Equals(ChartSample? other)

Parameters

other ChartSample

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartSample?, ChartSample?)

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

Parameters

left ChartSample
right ChartSample

Returns

bool

operator !=(ChartSample?, ChartSample?)

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

Parameters

left ChartSample
right ChartSample

Returns

bool