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

    Interface VolumeProfileHost

    Minimal host surface the controller needs. Both OHLCVChart and ChartEngine satisfy it structurally — visibleCandleView is the thin getter both expose — so the profile module depends on neither concrete class and tree-shakes cleanly out of the base bundle. Typed structurally (rather than importing OHLCVChart) so a host doing import { VolumeProfileController } pulls nothing heavy in.

    interface VolumeProfileHost {
        attachPrimitive(primitive: Primitive): void;
        detachPrimitive(id: string): boolean;
        render?(): void;
        requestRender?(): void;
        visibleCandleView(): CandleView | null;
    }
    Index

    Methods