Scaler

interface Scaler<VALUE>

A Scaler transforms a VALUE object into a Double, it is used to translates data into screen position.

Functions

invert
Link copied to clipboard
common
abstract fun invert(value: Double): VALUE
Transform a Double into a VALUE object (if possible), this is the inverse of the scaleValue function.
scaleValue
Link copied to clipboard
common
abstract fun scaleValue(value: VALUE): Double
Transform a VALUE object into a Double.

Properties

tickValues
Link copied to clipboard
common
abstract val tickValues: List<VALUE>
Produces a List of VALUE that will be used to place "ticks" on an axis.

Inheritors

Axis
Link copied to clipboard