EnterpriseReportingExporting· 4 min read
Exporting, PDF Reports & Worksheets
Client-side and server-side exports: Vector SVG, high-DPI PNG/JPEG (1x, 2x, 4x), automated PDF executive reports, and Excel spreadsheets.
Enterprise applications need to generate executive tear-sheets, board decks, and compliance reports directly from live charts. QuaCharts supports lossless vector SVG export, 300 DPI print-ready PNG/JPEG exports, and direct spreadsheet export to CSV and Excel.
Export Formats
| Format | Output Type | Ideal Use Case |
|---|---|---|
| image/png | Raster (High-DPI 2x/4x) | Slide decks, messaging screenshots, executive summaries |
| image/svg+xml | Vector (Crisp Scalable) | Print materials, publication PDFs, responsive embedding |
| application/pdf | Multi-Page Document | Automated institutional month-end risk reports |
| text/csv | Raw Tabular Data | Direct quantitative modeling in Python / Pandas / R |
| application/vnd.ms-excel | Excel Workbook (.xlsx) | Financial accounting sheets with formatted headers |
Programmatic Export Example
export-demo.ts
1
// Export high-resolution 4K PNG (pixelRatio: 3)
2
await chart.export({
3
type: 'image/png',
4
filename: 'NVDA-Executive-Summary-Q3',
5
pixelRatio: 3,
6
backgroundColor: '#0b0f19',
7
});
8
9
// Or extract SVG markup string directly
10
const svgString = await chart.getSVG({
11
sourceWidth: 1200,
12
sourceHeight: 675,
13
});
14
15
// Download underlying tabular data as CSV
16
chart.downloadCSV('portfolio-performance-2026.csv');