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 auto axisTicks(Axis axis)

Returns a range starting at axis.min, ending axis.max and with all the tick locations in between

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

public auto axisAes(
    string type, 
    double minC, 
    double maxC, 
    double lvl, 
    double scaling = 1, 
    Tuple!(double, string)[] ticks = [])

Aes describing the axis and its tick locations

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