Class ChartCategoricalPoint
A value positioned at two categories, used by TwCategoricalScatterChart.
public sealed record ChartCategoricalPoint : IEquatable<ChartCategoricalPoint>
- Inheritance
-
ChartCategoricalPoint
- Implements
- Inherited Members
Constructors
ChartCategoricalPoint(string, string, double, string?)
A value positioned at two categories, used by TwCategoricalScatterChart.
public ChartCategoricalPoint(string X, string Y, double Value, string? Label = null)
Parameters
XstringThe horizontal category.
YstringThe vertical category.
ValuedoubleThe value represented by the mark size.
LabelstringAn optional point label.
Properties
Label
An optional point label.
public string? Label { get; init; }
Property Value
Value
The value represented by the mark size.
public double Value { get; init; }
Property Value
X
The horizontal category.
public string X { get; init; }
Property Value
Y
The vertical category.
public string Y { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out double, out string?)
public void Deconstruct(out string X, out string Y, out double Value, out string? Label)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartCategoricalPoint?)
public bool Equals(ChartCategoricalPoint? other)
Parameters
otherChartCategoricalPoint
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartCategoricalPoint?, ChartCategoricalPoint?)
public static bool operator ==(ChartCategoricalPoint? left, ChartCategoricalPoint? right)
Parameters
leftChartCategoricalPointrightChartCategoricalPoint
Returns
operator !=(ChartCategoricalPoint?, ChartCategoricalPoint?)
public static bool operator !=(ChartCategoricalPoint? left, ChartCategoricalPoint? right)
Parameters
leftChartCategoricalPointrightChartCategoricalPoint