Hierarchy

  • TimeTickStrategyProperties

Properties

cursorFormatter: undefined | FormattingFunction

Cursor formatter.

This controls the formatting used by:

  • Default cursor result table formatters.
  • Default cursor tick formatters along Axis which uses this TickStrategy.
  • Axis.formatValue method of the Axis which uses this TickStrategy.

undefined means to use default Time cursor formatting.

 // Example value, custom cursor formatter
cursorFormatter: (value, range, locale) => value.toFixed(3)
majorFormattingFunction?: FormattingFunction

Formatting function used for major ticks.

Use FormattingFunctions to select available ones or define custom function.

undefined will result in default selection.

majorTickStyle: TickStyle

Style of Major ticks.

minorFormattingFunction?: FormattingFunction

Formatting function used for minor ticks.

Use FormattingFunctions to select available ones or define custom function.

undefined will result in default selection.

minorTickStyle: TickStyle

Style of Minor ticks.

To disable minor ticks, set to emptyTick.

timeOrigin: undefined | number

optional "Time origin" value. If a timeOrigin is defined, data-points will instead be interpreted as milliseconds since timeOrigin.

type: "time-ticks"