View as Markdown

API reference: @salmonui/charts/chart/export

ExportableVisualizationtype

import type { ExportableVisualization } from '@salmonui/charts/chart/export';

Also exported from @salmonui/charts/pie-chart, @salmonui/charts/heat-map, @salmonui/charts/tree-map, @salmonui/charts/sankey-chart, @salmonui/charts/barcode, @salmonui/charts/barcode/pdf417, @salmonui/charts/barcode/gs1-databar, @salmonui/charts/barcode/dotcode.

type ExportableVisualization = {
    readonly element: Element | null;
} | Element | null | undefined;

Anything with the element of a visualization instance (every ref API), or the element itself.