Interface DateNavigatorOptions

interface DateNavigatorOptions {
    chart: Chart | () => null | Chart;
    interval(): undefined | string;
    loadHistory(time: number, signal: AbortSignal): Promise<HistoryReach>;
}

Properties

Methods

Properties

chart: Chart | () => null | Chart

The chart to place. A function is read again after every load, for a host that rebuilds its chart.

Methods

  • Interval code of the primary bars. Default: the chart's data context.

    Returns undefined | string

  • Prepend older primary bars reaching back to time, resolving once they are on the chart. Called again while it adds bars and time is not yet reached. Omit to navigate loaded history only.

    Parameters

    • time: number
    • signal: AbortSignal

    Returns Promise<HistoryReach>