plotomics
    Preparing search index...

    Interface VolcanoInstance

    The handle createVolcano returns.

    interface VolcanoInstance {
        destroy(): void;
        exportPNG?(scale?: number): Promise<Blob | null>;
        exportSVG?(): string | null;
        resetView(): void;
        resize(width: number, height: number): void;
        setData(data: PlotomicsData): void;
        setOptions(options: Partial<TOptions>): void;
    }

    Hierarchy (View Summary)

    Index
    • Release all GPU/DOM/listener resources. Idempotent: a second call does nothing, and so does every other method after it, the exports giving null.

      Returns void

    • Publication export: the whole widget (marks, axes, labels and legends) as a PNG blob, scale times the device resolution, or null if not supported.

      Parameters

      • Optionalscale: number

      Returns Promise<Blob | null>

    • Go back to the home view, the one that shows all the data, as a double-click or the reset button does. Does nothing at the home view, and nothing after destroy().

      Returns void

    • React to a container size change (CSS pixels).

      Parameters

      • width: number
      • height: number

      Returns void