Canvas output
partial
Renders to 2D canvas
Matrix status partial. Verification types · strong. ChartKit option: ChartKitChartSpecV1.render=canvas.
Line, stacked-area, scatter, bar, heatmap, and candlestick. Axes, legend, title, and annotations stay SVG. Marks are painted from the sampled geometry. auto from 100000 rows. Other types stay SVG and warn CK3033.
Source: chartkit:packages/core/src/generated/schema.ts:82
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"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
},
"render": "canvas"
}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: render.canvas.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | grep: CanvasRenderingContext2D | grep · weak | chart.js/dist/types/index.d.ts:502 |
| Recharts | unknown | — | conflict · unknown | — |
| Apache ECharts | native | grep: canvas | grep · weak | echarts/types/src/coord/View.d.ts:60 |
| Highcharts | partial | grep: boostThresholdSVG by default; boost module draws to WebGL/canvas (modules/boost-canvas) | grep · weak | highcharts/highcharts.src.d.ts:5529 |
| Plotly.js | none | —SVG + WebGL | absence · absence | — |
| Nivo | native | ResponsiveLineCanvas | types · strong | @nivo/line/dist/types/ResponsiveLineCanvas.d.ts:4 |
| Victory | unknown | — | conflict · unknown | — |
| visx | unknown | — | conflict · unknown | — |
| ApexCharts | unknown | — | conflict · unknown | — |
| Tremor (npm) | unknown | — | conflict · unknown | — |
| Observable Plot | none | — | absence · absence | — |
| Vega-Lite | plugin | —renderer 'canvas' | npm · weak | — |
| AG Charts | native | grep: canvas | grep · weak | ag-charts-enterprise/dist/types/src/charts/topologyChart.d.ts:2 |
| amCharts 5 | native | grep: canvas | grep · weak | @amcharts/amcharts5/package.json:5 |
| Google Charts | none | — | absence · absence | — |
| uPlot | native | grep: CanvasRenderingContext2D | grep · weak | 22: readonly ctx |
| TradingView Lightweight Charts | native | grep: canvas | grep · weak | 3:import { CanvasRenderingTarget2D } from 'fancy-canvas'; |
| MUI X Charts | unknown | —SVG | conflict · unknown | — |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | grep: canvasdefault G canvas renderer | grep · weak | @antv/g2/lib/data/wordCloud.d.ts:94 |