public bool initialized(in Axis axis)
Is the axis properly initialized? Valid range.
public Axis adjustTickWidth(
Axis axis,
size_t approx_no_ticks)
Calculate optimal tick width given an axis and an approximate number of ticks
public double tickLength(in Axis axis)
Calculate tick length
public string toAxisLabel(double value)
Convert a value to an axis label
public auto tickLength(
double plotSize,
size_t deviceSize,
double scalingX,
double scalingY)
Calculate tick length in plot units
Functions
initialized | Is the axis properly initialized? Valid range. | |
adjustTickWidth | Calculate optimal tick width given an axis and an approximate number of ticks | |
autoaxisTicks | Returns a range starting at axis.min, ending axis.max and with all the tick locations in between | |
tickLength | Calculate tick length | |
toAxisLabel | Convert a value to an axis label | |
autotickLength | Calculate tick length in plot units | |
autoaxisAes | Aes describing the axis and its tick locations |
Structs
Axis | Struct holding details on axis | |
XAxis | XAxis | |
YAxis | YAxis |