Features · axis

Axis title

native

Label describing the axis

Matrix status native. Verification runtime · strong. ChartKit option: ChartKitChartSpecV1.axes.y.title.

falls back to the channel title; drawn on createRenderer([line]) since PR #17 (main 116d0af)

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

ChartKit spec

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

Units rose in Q2.Units rose in Q2.40455055Q1Q2Units
{
  "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
  },
  "axes": {
    "y": {
      "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: axis.title.md.

LibraryStatusOptionVerificationSource
Chart.jsnativegrep: titlescales.x.title.textgrep · weakchart.js/dist/types/index.d.ts:791
RechartsnativeXAxis.labeltypes · strongrecharts/types/util/types.d.ts:843
Apache EChartsnativexAxis.nametypes · strongecharts/types/dist/shared.d.ts:2575
HighchartsnativexAxis.title.texttypes · stronghighcharts/highcharts.d.ts:109385
Plotly.jsnativelayout.xaxis.title.texttypes · strongplot-schema.json#layout.layoutAttributes.xaxis.title.text
NivonativeLine.axisBottomaxisBottom.legend is the axis titletypes · strong@nivo/line/dist/types/types.d.ts:178
VictorynativeVictoryAxis.labeltypes · strongvictory-core/lib/types/prop-types.d.ts:122
visxnativeAxisBottom.labeltypes · strong@visx/axis/lib/types.d.ts:36
ApexChartsnativexaxis.title.texttypes · strongapexcharts/types/apexcharts.d.ts:4981
Tremor (npm)nativeLineChart.xAxisLabel, LineChart.yAxisLabeltypes · strong@tremor/react/dist/index.d.ts:87
Observable Plotnativegrep: labelx: {label}grep · weak@observablehq/plot/src/scales.d.ts:327
Vega-Litenativegrep: titlegrep · weak1400: "description"
AG Chartsnativegrep: titlegrep · weakag-charts-community/dist/types/src/module-support.d.ts:14
amCharts 5nativegrep: Labelaxis.children.push(Label)grep · weak@amcharts/amcharts5/stock.d.ts:55
Google Chartsnativegrep: titlehAxis.titlegrep · weak@types/google.visualization/index.d.ts:504
uPlotnativeOptions.axes.labeltypes · stronguplot/dist/uPlot.d.ts:1084
TradingView Lightweight Chartsunknown—no axis titlesconflict · unknown—
MUI X ChartsnativeLineChart.xAxistypes · strong@mui/x-charts/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.mts:25
Mermaid (chart-ish diagrams only)nativegrep: xAxisx-axis "title"grep · weakmermaid/dist/utils.d.ts:223
AntV G2nativegrep: titlegrep · weak@antv/g2/lib/index.d.ts:115