Features · axis

Show / hide axis

native

Toggle an axis entirely

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.axes.x.

axes.x:false hides

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

ChartKit spec

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

Units rose in Q2.Units rose in Q2.40455055Q1Q2Quarter
{
  "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": {
    "x": {
      "title": "Quarter"
    }
  }
}

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.show.md.

LibraryStatusOptionVerificationSource
Chart.jsnativegrep: displayscales.x.displaygrep · weakchart.js/dist/types/index.d.ts:1103
RechartsnativeXAxis.hidetypes · strongrecharts/types/util/types.d.ts:744
Apache EChartsnativexAxis.showtypes · strongecharts/types/dist/shared.d.ts:2573
HighchartsnativexAxis.visibletypes · stronghighcharts/highcharts.d.ts:108812
Plotly.jsnativelayout.xaxis.visibletypes · strongplot-schema.json#layout.layoutAttributes.xaxis.visible
NivonativeLine.axisBottomnull hidestypes · strong@nivo/line/dist/types/types.d.ts:178
VictorynativeVictoryAxisomit or styletypes · strongvictory-axis/lib/victory-axis.d.ts:239
visxnativeAxisBottomcompose or omittypes · strong@visx/axis/lib/axis/AxisBottom.d.ts:9
ApexChartsnativexaxis.labels.show, yaxis.showtypes · strongapexcharts/types/apexcharts.d.ts:4908
Tremor (npm)nativeLineChart.showXAxis, LineChart.showYAxistypes · strong@tremor/react/dist/index.d.ts:62
Observable Plotnativegrep: axisaxis: nullgrep · weak@observablehq/plot/src/scales.d.ts:4
Vega-Litenativegrep: axisaxis: nullgrep · weak1047: "Axis"
AG Chartsunknown—unverified · unknown—
amCharts 5nativegrep: visiblegrep · weak@amcharts/amcharts5/.internal/plugins/exporting/Annotator.d.ts:97
Google Chartsnativegrep: textPositionhAxis.textPosition:'none'grep · weak@types/google.visualization/index.d.ts:533
uPlotnativeOptions.axes.showtypes · stronguplot/dist/uPlot.d.ts:1060
TradingView Lightweight Chartsnativegrep: visiblepriceScale/timeScale visiblegrep · weak138: * Use the last visible data of the chart viewport.
MUI X ChartsnativeLineChart.xAxisposition:'none'types · strong@mui/x-charts/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.mts:25
Mermaid (chart-ish diagrams only)nativegrep: showAxisLinexyChart.xAxis.showLabel etc.grep · weakmermaid/dist/themes/theme-redux.d.ts:149
AntV G2nativegrep: axisaxis: falsegrep · weak@antv/g2/lib/index.d.ts:110