Class ChartPoint
A point positioned by two numeric values, plotted by TwScatterChart and TwQuadrantChart.
public sealed record ChartPoint : IEquatable<ChartPoint>
- Inheritance
-
ChartPoint
- Implements
- Inherited Members
Constructors
ChartPoint(double, double, string?, double?)
A point positioned by two numeric values, plotted by TwScatterChart and TwQuadrantChart.
public ChartPoint(double X, double Y, string? Label = null, double? Size = null)
Parameters
XdoubleThe value along the horizontal axis.
YdoubleThe value along the vertical axis.
LabelstringAn optional name for the point, shown in its tooltip and the table view.
Sizedouble?An optional third value. When set the point is drawn as a bubble whose area follows it.
Properties
Label
An optional name for the point, shown in its tooltip and the table view.
public string? Label { get; init; }
Property Value
Size
An optional third value. When set the point is drawn as a bubble whose area follows it.
public double? Size { get; init; }
Property Value
X
The value along the horizontal axis.
public double X { get; init; }
Property Value
Y
The value along the vertical axis.
public double Y { get; init; }
Property Value
Methods
Deconstruct(out double, out double, out string?, out double?)
public void Deconstruct(out double X, out double Y, out string? Label, out double? Size)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartPoint?)
public bool Equals(ChartPoint? other)
Parameters
otherChartPoint
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartPoint?, ChartPoint?)
public static bool operator ==(ChartPoint? left, ChartPoint? right)
Parameters
leftChartPointrightChartPoint
Returns
operator !=(ChartPoint?, ChartPoint?)
public static bool operator !=(ChartPoint? left, ChartPoint? right)
Parameters
leftChartPointrightChartPoint