Class ChartDot
A filled circle centered on a point. Diameter is in pixels so dots stay round and legible at any width.
public sealed record ChartDot : IChartMark, IEquatable<ChartDot>
- Inheritance
-
ChartDot
- Implements
- Inherited Members
Constructors
ChartDot(double, double, ChartColor, double, double, string?)
A filled circle centered on a point. Diameter is in pixels so dots stay round and legible at any width.
public ChartDot(double X, double Y, ChartColor Color, double Diameter = 10, double Opacity = 1, string? Title = null)
Parameters
Properties
Color
public ChartColor Color { get; init; }
Property Value
Diameter
public double Diameter { get; init; }
Property Value
Opacity
public double Opacity { get; init; }
Property Value
Title
public string? Title { get; init; }
Property Value
X
public double X { get; init; }
Property Value
Y
public double Y { get; init; }
Property Value
Methods
Deconstruct(out double, out double, out ChartColor, out double, out double, out string?)
public void Deconstruct(out double X, out double Y, out ChartColor Color, out double Diameter, out double Opacity, out string? Title)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartDot?)
public bool Equals(ChartDot? other)
Parameters
otherChartDot
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartDot?, ChartDot?)
public static bool operator ==(ChartDot? left, ChartDot? right)
Parameters
Returns
operator !=(ChartDot?, ChartDot?)
public static bool operator !=(ChartDot? left, ChartDot? right)