The formatting mode to apply to tooltips CursorModifier, RolloverModifier
Specifies the number of decimal places for the tooltip value CursorModifier, RolloverModifier
The maximum error tolerance when formatting values as fractions of PI
If a tick lands within this tolerance of a fraction of PI, it is formatted as that PI fraction, else it reverts to a decimal.
Default 0.0001
The formatting mode to apply to the labels
A postfix for the label values
Specifies the number of decimal places for the label value
A prefix for the label values
Line spacing to use if text is wrapped. For normal labels this is a multiple of the text height and defaults to 1.1 For native text it is a number of pixels and defaults to 2
The maximum denominator to use when formatting values as fractions of PI
e.g. For 12, you can expect fractions such as 11π/12, 3π/4, 5π/6, but NOT 13π/24
Default 12
Whether to use WebGL for rendering axis labels. Default true (was false before v4). These are much faster than rendering using canvas text, but do not have quite the same font and style support.
Whether to use cached labels from other axes that have the same style. You may need to set this false if you are overriding getLabelTexture or getLabelTextureAsync without setting a unique style.
Generated using TypeDoc
Whether to show the leftmost (or rightmost on axes with flippedCoordinates) label as long as its tick line is visible.
If
trueand the label width is wider than the difference between majorTicks, it will prefer to push/hide the 2nd label instead of disappearing itself, as long as its tick-line is still in view.Valuable when used inside of a SmartDateLabelProvider, paired with its
showWiderDateOnFirstLabel: true.Default
falsefor all label providers, except for SmartDateLabelProvider.