In This Article

AxisTick Class

Represents a tick on an axis.

public class AxisTick
Inheritance:
object object

Constructors

AxisTick(double)

Initializes an instance of the class.

public AxisTick(double position)
Parameter Type Description
position double

The position.

AxisTick(string, double)

Initializes an instance of the class.

public AxisTick(string label, double position)
Parameter Type Description
label string

The label.

position double

The position.

Properties

Label

The string representation of the data at the tick point.

public string? Label { get; }

Property Value

string

Position

The position on the axis that the tick resides.

public double Position { get; }

Property Value

double

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)
Parameter Type Description
obj object

The object to compare with the current object.

Returns

bool:

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int:

A hash code for the current object.

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods