Table of Contents

Class ChartCategoricalPoint

Namespace
TwBlazor.Models
Assembly
TwBlazor.dll

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

X string

The horizontal category.

Y string

The vertical category.

Value double

The value represented by the mark size.

Label string

An optional point label.

Properties

Label

An optional point label.

public string? Label { get; init; }

Property Value

string

Value

The value represented by the mark size.

public double Value { get; init; }

Property Value

double

X

The horizontal category.

public string X { get; init; }

Property Value

string

Y

The vertical category.

public string Y { get; init; }

Property Value

string

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

X string
Y string
Value double
Label string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartCategoricalPoint?)

public bool Equals(ChartCategoricalPoint? other)

Parameters

other ChartCategoricalPoint

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartCategoricalPoint?, ChartCategoricalPoint?)

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

Parameters

left ChartCategoricalPoint
right ChartCategoricalPoint

Returns

bool

operator !=(ChartCategoricalPoint?, ChartCategoricalPoint?)

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

Parameters

left ChartCategoricalPoint
right ChartCategoricalPoint

Returns

bool