In This Article

AxisTick Class

Represents a tick on an axis.

public class AxisTick
Inheritance:
object object

Constructors

AxisTick(double)

Initializes a new instance of the AxisTick class.

public AxisTick(double position)
Parameter Type Description
position double

The position.

AxisTick(string, double)

Initializes a new instance of the AxisTick 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 AxisTick is equal to the current AxisTick.

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

The AxisTick to compare with the current AxisTick.

Returns

bool:

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

GetHashCode()

Serves as a hash function for a particular type.

public override int GetHashCode()

Returns

int:

A hash code for the current object.

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string:

A string that represents this instance.

Inherited Members