Readonly cursorCursor formatter.
This controls the formatting used by:
TickStrategy.Axis.formatValue method of the Axis which uses this TickStrategy.undefined means to use default Numeric cursor formatting.
// Example value, custom cursor formatter
cursorFormatter: (value, range, locale) => value.toFixed(3)
Optional Readonly extremeFormatting function used for extreme ticks.
Use FormattingFunctions to select available ones or define custom function.
undefined will result in default selection.
Readonly extremeStyle of Extreme ticks (start & end of Axis).
To disable extreme ticks, set to emptyTick.
Readonly Beta fallIf true (default) if at any time the axis would display only 1 or 0 tick labels, then automatically fallback to "extreme ticks" behavior
(display axis start + end).
Aim is to avoid very unfortunate cases where only 1 tick label fits into the chart. This kind of axis is practically unreadable, as the value range can not be perceived.
Introduced in v7.0.0. May be changed according to user feedback.
Readonly formattingOptional coordinate to offset from tick coordinates when formatting tick labels and default cursor labels.
If supplied, the value of formattingOffset will be added to every coordinate before formatting.
This can be useful for offsetting displayed data ranges in cases where actual data can't be practically rendered due to extremely large numbers for example.
// Example, specify formatting offset.
Axis.setTickStrategy(AxisTickStrategies.Numeric, (ticks) => ticks
// Will result in `0` being formatted as `1000000`
.setFormattingOffset(1000000)
)
Optional Readonly majorFormatting function used for major ticks.
Use FormattingFunctions to select available ones or define custom function.
undefined will result in default selection.
Readonly majorStyle of Major ticks.
Optional Readonly minorFormatting function used for minor ticks.
Use FormattingFunctions to select available ones or define custom function.
undefined will result in default selection.
Readonly minorStyle of Minor ticks.
To disable minor ticks, set to emptyTick.
Modifiable properties of a Numeric TickStrategy.