ggplotd.axes

Undocumented in source.

Members

Aliases

XAxisFunction
alias XAxisFunction = XAxis delegate(XAxis)
Undocumented in source.
YAxisFunction
alias YAxisFunction = YAxis delegate(YAxis)
Undocumented in source.

Functions

adjustTickWidth
Axis adjustTickWidth(Axis axis, size_t approx_no_ticks)

Calculate optimal tick width given an axis and an approximate number of ticks

axisAes
auto axisAes(string type, double minC, double maxC, double lvl, Tuple!(double, string)[] ticks)
axisTicks
auto axisTicks(Axis axis)

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

initialized
bool initialized(Axis axis)

Is the axis properly initialized? Valid range.

tickLength
double tickLength(Axis axis)

Calculate tick length

toAxisLabel
string toAxisLabel(double value)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Axis
struct Axis
XAxis
struct XAxis
YAxis
struct YAxis

Meta