NonLinearTicks

References
public class NonLinearTicks
Represents a series of NonLinearTick markers.

Constructors

NonLinearTicks

#
public NonLinearTicks(
params NonLinearTick[]
ticks
)

Properties

Count

#
Gets the number of ticks.
public int Count { get; }

MaximumTick

#
Gets the linear tick index of the rightmost non-linear tick.
public long MaximumTick { get; }

MaxValue

#
Gets the value of the right-most tick.
public decimal MaxValue { get; }

MinValue

#
Gets the value of the left-most tick.
public decimal MinValue { get; }

Indexers

this[]

#
Gets the tick at the given index.
public NonLinearTick this[
index
] { get; }

Methods

Map

#
Find the linear tick at which a given value is supposed to be placed.
public long Map(
value
)

Map

#
Map a linear tick onto a non-linear value.
public UiNumber Map(
tick
Tick to map.
)

Next

#
Gets the non-linear right to the left of the given value, or the first tick if the specified value is to the right of all ticks.
public NonLinearTick Next(
value
)

Next

#
Gets the non-linear tick to the right of the given linear tick index, or the first tick if the specified value is to the right of all ticks.
public NonLinearTick Next(
tick
)

Prev

#
Gets the non-linear tick to the left of the given value, or the first tick if the specified value is to the left of all ticks.
public NonLinearTick Prev(
value
)

Prev

#
Gets the non-linear tick to the left of the given linear tick index, or the first tick if the specified value is to the left of all ticks.
public NonLinearTick Prev(
tick
)