Tick marks size / visibility
native
Show/hide tick marks and set their length
Matrix status native. Verification runtime · strong. ChartKit option: ChartKitChartSpecV1.axes.x.tickMarks.
tickMarks is inside, outside, or none. tickLength sets the length. Drawn on createRenderer([line]).
Source: packages/core/src/generated/schema.ts:1044
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
},
"axes": {
"x": {
"tickMarks": "outside"
}
}
}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.ticks.marks.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | grep: tickLength | grep · weak | chart.js/dist/types/index.d.ts:3039 |
| Recharts | native | XAxis.tickSize, XAxis.tickLine | types · strong | recharts/types/util/types.d.ts:789 |
| Apache ECharts | native | xAxis.axisTick.show, xAxis.axisTick.length | types · strong | echarts/types/dist/shared.d.ts:2762 |
| Highcharts | native | xAxis.tickLength, xAxis.tickWidth | types · strong | highcharts/highcharts.d.ts:108716 |
| Plotly.js | native | layout.xaxis.ticklen, layout.xaxis.ticks | types · strong | plot-schema.json#layout.layoutAttributes.xaxis.ticklen |
| Nivo | native | grep: tickSize | grep · weak | @nivo/legends/dist/types/types.d.ts:101 |
| Victory | native | VictoryAxis.styleticks style | types · strong | victory-core/lib/victory-theme/types.d.ts:46 |
| visx | native | AxisBottom.tickLength, AxisBottom.hideTicks | types · strong | @visx/axis/lib/types.d.ts:71 |
| ApexCharts | native | xaxis.axisTicks.show, xaxis.axisTicks.height | types · strong | apexcharts/types/apexcharts.d.ts:4956 |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | grep: tickSize | grep · weak | @observablehq/plot/src/scales.d.ts:563 |
| Vega-Lite | native | grep: tickSize | grep · weak | 1064: "description" |
| AG Charts | native | grep: tick | grep · weak | ag-charts-types/dist/types/src/main.d.ts:59 |
| amCharts 5 | native | grep: minorGridEnabled | grep · weak | @amcharts/amcharts5/examples/xy-stacked-step/config.json:71 |
| Google Charts | none | — | absence · absence | — |
| uPlot | native | Options.axes.ticks.size | types · strong | uplot/dist/uPlot.d.ts:1054 |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | grep: disableTicks | grep · weak | @mui/x-charts/ChartsYAxis/utilities.d.ts:7 |
| Mermaid (chart-ish diagrams only) | native | grep: showTick | grep · weak | mermaid/dist/config.type.d.ts:1125 |
| AntV G2 | native | grep: tickLength | grep · weak | @antv/g2/lib/component/axis.d.ts:16 |