Exports
Rendering charts and tables to PNG, SVG, JSON and CSV through asynchronous jobs.
Exports turn an artifact revision into durable files. Every export runs as a background job, so rendering never blocks the editor: start an export, keep working, and download the files when the job completes.
Formats by artifact kind
| Kind | Formats | Notes |
|---|---|---|
| Chart | PNG, SVG, JSON, CSV | JSON/CSV carry the snapshot data; SVG is rendered server-side and deterministic |
| Table | PNG, SVG, JSON, CSV | JSON/CSV carry every row. PNG/SVG show up to 12 columns and the first 25 rows, then a "+N more rows" line |
Chart images are drawn without hatching. Set accessibility.patterns to true in
the chart spec to add hatch patterns to PNG and SVG exports (see
chart specifications).
CSV and spreadsheet formulas
CSV text cells and headers that start with = + - @, tab or CR are prefixed with '; typed numeric, boolean and date cells are not.
A spreadsheet then shows such a value as text instead of evaluating it as a
formula, while numbers such as -5 stay numeric.
Fresh or displayed capture
Chart exports can render from fresh data (a new capture at export time) or from the displayed capture you are looking at. The output manifest records which was used, along with the spec revision and data version — every output is auditable to its inputs.
Job lifecycle
An export job shows one of these states:
| State | What it means for you |
|---|---|
queued | The export is accepted and waiting to start. You can cancel it. |
running | The files are being rendered. You can cancel it. |
cancelling | You cancelled a running render; it stops shortly and ends cancelled. |
completed | The files are ready to download from the artifact. |
failed | The export did not finish. The job carries a reason. |
cancelled | You cancelled the export before it finished. |
queued and running are not success. Wait for completed, then fetch the
output manifest. If a job fails, read its reason: fix the cause (for example
a data source that can no longer be read) and start a new export. A failure
that names a temporary problem, such as a timeout, can simply be retried.
Earlier completed outputs are never replaced by a failed job.
Outputs and provenance
Completed outputs are recorded on the artifact with their provenance (revision, capture, job) and become authenticated downloads. See artifacts for the output list on the artifact detail view.