Optional
axisOptional
axisThe maximum value encompassed by this axis.
Optional
axisThe position on the opposing axis that this axis intercepts.
Optional
axisThe minimum value encompassed by this axis.
Optional
axisThe width of the primary axis line in pixels. Default 1.
Optional
labelThe x/y position of the anchor relative to the text quad, on the range [-1, -1] (bottom left) to [1, 1] (top right). When undefined will automatically anchor the text according to the direction of the axis.
Optional
labelThe angle at which the text will be rotated around the anchor. Default 0.
Optional
labelThe color of the tick labels. Default [0, 0, 0, 1].
Optional
labelThe function to use to format the ticks. Default (n: number) => n.toString()
.
Optional
labelThe padding between the ticks and tick labels in pixels. Default 3.
Optional
labelWhich side of the axis the label will be placed on. Default -1.
Optional
labelThe size in pixels of the label font. Default 12.
Optional
minorThe color of the minor ticks. Default [0, 0, 0, 1].
Optional
minorThe number of minor ticks between major ticks. None if undefined. Default undefined.
Optional
minorThe length of the minor ticks in pixels. Default 6.
Optional
minorHow far the minor ticks are shifted from centered on the primary axis line. Zero is centered, can be negative or positive. Default 0.
Optional
minorThe width of the minor ticks in pixels. Default 1.
Optional
minorThe position of the minor ticks as a distance from start
. Default [] (empty).
Optional
tickThe color of the ticks. Default [0, 0, 0, 1].
Optional
tickThe length of the ticks in pixels. Default 12.
Optional
tickHow far the ticks are shifted from centered on the primary axis line. Zero is centered, can be negative or positive. Default 0.
Optional
tickUsed to anchor ticks to the axis. Using a value of 0.1 and a tickStep of
1.0 will result in ticks at [... -1.9, -0.9, 0.1, 1.1 ... ]
. Default 0.
Optional
tickThe distance between ticks. Default 1.
Optional
tickThe width of the ticks in pixels. Default 1.
Generated using TypeDoc
The color of the primary axis line. Default [0, 0, 0, 1].