Features · export

Built-in export menu / toolbar

native

UI button for download/print

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.interaction.export.

Keyboard menu, loaded only when interaction.export is set.

Source: chartkit:packages/core/src/generated/schema.ts:2611

ChartKit spec

Passed validate() during npm run matrix:refresh. The SVG is the server render.

Units rose in Q2.Units rose in Q2.40455055Q1Q2
{
  "version": "1",
  "type": "line",
  "data": [
    {
      "quarter": "Q1",
      "units": 40
    },
    {
      "quarter": "Q2",
      "units": 55
    }
  ],
  "encoding": {
    "x": "quarter",
    "y": "units"
  },
  "a11y": {
    "alt": "Units rose in Q2."
  },
  "size": {
    "width": 640,
    "height": 260
  },
  "interaction": {
    "export": [
      "png",
      "svg",
      "csv"
    ]
  }
}

Other libraries

Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: export.menu.md.

LibraryStatusOptionVerificationSource
Chart.jsnone—absence · absence—
Rechartsnone—absence · absence—
Apache EChartsnativetoolbox.feature.saveAsImagetypes · strongecharts/types/dist/shared.d.ts:12480
Highchartsplugingrep: contextButtonexporting module menugrep · weakhighcharts/highcharts.src.d.ts:10748
Plotly.jsnativeconfig.displayModeBartypes · strongplot-schema.json#config.displayModeBar
Nivonone—absence · absence—
Victorynone—absence · absence—
visxnone—absence · absence—
ApexChartsnativechart.toolbar.show, chart.toolbar.tools.downloadtypes · strongapexcharts/types/apexcharts.d.ts:2178
Tremor (npm)none—absence · absence—
Observable Plotnone—absence · absence—
Vega-Liteplugin—actions menunpm · weak—
AG Chartsnativegrep: contextMenugrep · weakag-charts-community/dist/types/src/module-support.d.ts:21
amCharts 5plugingrep: ExportingMenugrep · weak@amcharts/amcharts5/.internal/plugins/json/Classes.d.ts:90
Google Chartsnone—absence · absence—
uPlotnone—absence · absence—
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartsnative proChartsToolbarProtypes · strong@mui/x-charts-pro/ChartsToolbarPro/ChartsToolbarPro.d.mts:40
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2none—absence · absence—