@rekurt/openkline - v0.2.0
    Preparing search index...

    Interface CompareHost

    Minimal surface the controller needs from its host. Both OHLCVChart and ChartEngine structurally satisfy it, so the compare module depends on neither concrete class — keeping it independently importable and tree-shakeable out of the base bundle. (Typed structurally rather than importing OHLCVChart so this file pulls nothing heavy into a host that does import { CompareController }.)

    interface CompareHost {
        attachPrimitive(primitive: Primitive): void;
        detachPrimitive(id: string): boolean;
        render?(): void;
        requestRender?(): void;
    }
    Index

    Methods

    • Optional explicit repaint hook. attach/detach already repaint on the built-in hosts; this is only used for in-place series updates.

      Returns void