Table of Contents

Class ChartTick

Namespace
TwBlazor.Charting
Assembly
TwBlazor.dll

A label at a position along an axis.

public sealed record ChartTick : IEquatable<ChartTick>
Inheritance
ChartTick
Implements
Inherited Members

Constructors

ChartTick(double, string)

A label at a position along an axis.

public ChartTick(double Position, string Label)

Parameters

Position double
Label string

Properties

Label

public string Label { get; init; }

Property Value

string

Position

public double Position { get; init; }

Property Value

double

Methods

Deconstruct(out double, out string)

public void Deconstruct(out double Position, out string Label)

Parameters

Position double
Label string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartTick?)

public bool Equals(ChartTick? other)

Parameters

other ChartTick

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartTick?, ChartTick?)

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

Parameters

left ChartTick
right ChartTick

Returns

bool

operator !=(ChartTick?, ChartTick?)

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

Parameters

left ChartTick
right ChartTick

Returns

bool