label
A label for a diagram axis. Refer to the tutorial section Axis − Axis labels for customization tips.
Parameters
body : any
Content to show in the label.
kind : "x" | "y" default: "x"
The kind of axis that the label is attached to.
pad : none | length default: 0.75em
Padding between the axis (and its ticks and labels) and the label.
When this is set to none, the label is drawn directly on the axis
(ignoring the ticks).
angle : auto | angle default: auto
Angle at which the label is drawn. If set to auto, -labels are drawn
at 0deg and -labels at -90deg.
dx : length default: 0pt
Horizontal offset.
dy : length default: 0pt
Vertical offset.