---
id: "packages/active-charts/all-exports/export-result"
title: "Export result"
description: "ChartExportFormat, ChartExportResult, ChartExportWarning: generated from the source of active-charts."
url: "/packages/active-charts/all-exports/export-result"
locale: "en"
revision: "g0mvjxwj5c-88bdbe1c:export-result"
---

# Export result

Exported by `@workspace/active-charts`. Generated from the package source; part of [the index of every export](/packages/active-charts/all-exports).

## Types

**ChartExportFormat**

```ts
type ChartExportFormat = 'png' | 'svg' | 'csv' | 'pdf';
```

The export formats a chart offers.

**ChartExportResult**

```ts
interface ChartExportResult {
  readonly format: ChartExportFormat;
  readonly filename: string;
  readonly blob: Blob;
  readonly downloadStarted: boolean;
  readonly warnings: readonly ChartExportWarning[];
}
```

The file one export call produced, at its capture moment: the
file that was handed to the browser, or would have been with `download`
on. One call captures once; the host never recaptures to get the bytes.

**ChartExportWarning**

```ts
interface ChartExportWarning {
  readonly code: 'font-fallback';
  readonly family: string;
}
```

A non-fatal disclosure about an exported file: the file exists and is
returned, but it is not everything the chart shows. A closed vocabulary;
a new code is a contract change.

- `font-fallback`: an inherit-mode PNG (no export font set) in which a web
font the live chart uses got no embedded face (its stylesheet is
cross-origin, or its file could not be fetched), so its glyphs draw in
a browser default font.
