Class ChartSample
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
LabelstringThe group label shown on the axis, tooltips and table view.
ValuesIReadOnlyList<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
Values
The raw observations in the group.
public IReadOnlyList<double> Values { get; init; }
Property Value
Methods
Deconstruct(out string, out IReadOnlyList<double>)
public void Deconstruct(out string Label, out IReadOnlyList<double> Values)
Parameters
LabelstringValuesIReadOnlyList<double>
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartSample?)
public bool Equals(ChartSample? other)
Parameters
otherChartSample
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartSample?, ChartSample?)
public static bool operator ==(ChartSample? left, ChartSample? right)
Parameters
leftChartSamplerightChartSample
Returns
operator !=(ChartSample?, ChartSample?)
public static bool operator !=(ChartSample? left, ChartSample? right)
Parameters
leftChartSamplerightChartSample