Interface TimeNavigatorOptions

interface TimeNavigatorOptions {
    bottomMargin: number;
    buttons: readonly (null | TimeNavigatorAction)[];
    fadeSeconds: number;
    font: number;
    gap: number;
    groupGap: number;
    hints: Partial<Record<TimeNavigatorAction, string>>;
    id: string;
    labels: Record<TimeNavigatorAction, string>;
    radius: number;
    revealHeight: number;
    showTooltip: boolean;
    size: number;
    zOrder: ZOrder;
}

Properties

bottomMargin: number

Distance from the bottom of the plot to the bottom of the buttons.

buttons: readonly (null | TimeNavigatorAction)[]

Buttons, left to right. A null inserts a gap between groups.

fadeSeconds: number

Seconds the fade takes. 0 disables the animation.

font: number
gap: number

Gap between buttons, and the wider gap a null produces.

groupGap: number
hints: Partial<Record<TimeNavigatorAction, string>>

Optional keyboard hint shown next to the label, e.g. "Ctrl + −".

id: string

Prefix for hit ids. Lets a host run more than one.

labels: Record<TimeNavigatorAction, string>

Tooltip label per action.

radius: number
revealHeight: number

Height of the reveal band above the plot bottom. The pointer anywhere in this band brings the controls in.

showTooltip: boolean

Show the tooltip above the hovered button.

size: number

Button box size in media px.

zOrder: ZOrder