The slice of the chart this controller needs. Chart satisfies it; declaring it structurally keeps the controller testable against a stub and free of a circular import back into core.

interface ReplayChartHost {
    timeScale: ReplayViewport;
    emit(event: string, payload: unknown): void;
    primarySeries(): null | SeriesApi;
}

Properties

Methods

Properties

timeScale: ReplayViewport

Methods