Table of Contents

Class ChartDot

Namespace
TwBlazor.Charting
Assembly
TwBlazor.dll

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

X double
Y double
Color ChartColor
Diameter double
Opacity double
Title string

Properties

Color

public ChartColor Color { get; init; }

Property Value

ChartColor

Diameter

public double Diameter { get; init; }

Property Value

double

Opacity

public double Opacity { get; init; }

Property Value

double

Title

public string? Title { get; init; }

Property Value

string

X

public double X { get; init; }

Property Value

double

Y

public double Y { get; init; }

Property Value

double

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

X double
Y double
Color ChartColor
Diameter double
Opacity double
Title string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartDot?)

public bool Equals(ChartDot? other)

Parameters

other ChartDot

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartDot?, ChartDot?)

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

Parameters

left ChartDot
right ChartDot

Returns

bool

operator !=(ChartDot?, ChartDot?)

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

Parameters

left ChartDot
right ChartDot

Returns

bool