Chart title and subtitle
native
Built-in title text
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.title, ChartKitChartSpecV1.subtitle.
Source: chartkit:packages/core/src/generated/schema.ts:54, chartkit:packages/core/src/generated/schema.ts:58
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
},
"title": "Units"
}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: layout.title.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | grep: titleplugins.title / plugins.subtitle | grep · weak | chart.js/dist/types/index.d.ts:791 |
| Recharts | unknown | —render your own heading | conflict · unknown | — |
| Apache ECharts | native | title.text, title.subtext | types · strong | echarts/types/dist/shared.d.ts:10516 |
| Highcharts | native | title.text, subtitle.text | types · strong | highcharts/highcharts.d.ts:107099 |
| Plotly.js | native | layout.title.text, layout.title.subtitle | types · strong | plot-schema.json#layout.layoutAttributes.title.text |
| Nivo | unknown | — | conflict · unknown | — |
| Victory | partial | VictoryLabeladd a VictoryLabel | types · strong | victory-core/lib/victory-label/victory-label.d.ts:54 |
| visx | unknown | — | conflict · unknown | — |
| ApexCharts | native | title.text, subtitle.text | types · strong | apexcharts/types/apexcharts.d.ts:2450 |
| Tremor (npm) | unknown | — | conflict · unknown | — |
| Observable Plot | native | grep: title | grep · weak | @observablehq/plot/src/plot.d.ts:105 |
| Vega-Lite | native | grep: title | grep · weak | 1400: "description" |
| AG Charts | native | AgChartOptions.title, AgChartOptions.subtitle | types · strong | ag-charts-types/dist/types/src/chart/chartOptions.d.ts:250 |
| amCharts 5 | native | grep: Labelroot.container Label | grep · weak | @amcharts/amcharts5/stock.d.ts:55 |
| Google Charts | native | grep: title | grep · weak | @types/google.visualization/index.d.ts:504 |
| uPlot | native | Options.title | types · strong | uplot/dist/uPlot.d.ts:343 |
| TradingView Lightweight Charts | unknown | — | conflict · unknown | — |
| MUI X Charts | unknown | — | conflict · unknown | — |
| Mermaid (chart-ish diagrams only) | native | grep: title'title' in diagram text | grep · weak | mermaid/dist/utils.d.ts:223 |
| AntV G2 | native | grep: title | grep · weak | @antv/g2/lib/index.d.ts:115 |