View as Markdown

API reference: @salmonui/charts/chart

ChartExportWriterstype

import type { ChartExportWriters } from '@salmonui/charts/chart';
type ChartExportWriters = VizExportWriters;

Writer loaders of api.export: dynamic imports of @salmonui/export subpaths.

ChartExportWriters members (2, 2 inherited)
NameSignatureDescription
pdfoptionalinheritedpdf?: (() => Promise<{ readonly writeGraphicsPdf: (...args: never[]) => Promise<{ readonly data: Uint8Array<ArrayBufferLike>; }>; }>);

A dynamic import of

@salmonui

/export graphics subpath: vector PDF pages.

xlsxoptionalinheritedxlsx?: (() => Promise<{ readonly writeXlsx: (...args: never[]) => Promise<Uint8Array<ArrayBufferLike>>; }>);

A dynamic import of

@salmonui

/export xlsx subpath: the table as a workbook.