Rounded bar corners
native
Corner radius on bars
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.mark.cornerRadius.
Source: chartkit:packages/core/src/generated/schema.ts:851
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "bar",
"data": [
{
"lane": "A",
"stops": 12
},
{
"lane": "C",
"stops": 15
}
],
"encoding": {
"x": "lane",
"y": "stops"
},
"a11y": {
"alt": "Lane C has more."
},
"size": {
"width": 640,
"height": 260
},
"mark": {
"cornerRadius": 4
}
}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: mark.bar.radius.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | ChartConfiguration.data.datasets.borderRadius | types · strong | chart.js/dist/types/index.d.ts:2119 |
| Recharts | native | Bar.radius | types · strong | recharts/types/cartesian/Bar.d.ts:175 |
| Apache ECharts | native | series.itemStyle.borderRadius | types · strong | echarts/types/dist/shared.d.ts:11170 |
| Highcharts | native | plotOptions.column.borderRadius | types · strong | highcharts/options/column.d.ts:612 |
| Plotly.js | native | layout.barcornerradius | types · strong | plot-schema.json#layout.layoutAttributes.barcornerradius |
| Nivo | native | Bar.borderRadius | types · strong | @nivo/bar/dist/types/types.d.ts:152 |
| Victory | native | VictoryBar.cornerRadius | types · strong | victory-bar/lib/victory-bar.d.ts:11 |
| visx | native | BarRounded | types · strong | @visx/shape/lib/shapes/BarRounded.d.ts:43 |
| ApexCharts | native | plotOptions.bar.borderRadius | types · strong | apexcharts/types/apexcharts.d.ts:3103 |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | grep: rxrx, ry, r on bars | grep · weak | @observablehq/plot/src/scales.d.ts:15 |
| Vega-Lite | native | grep: cornerRadius | grep · weak | 259: "cornerRadius" |
| AG Charts | native | series.cornerRadius | types · strong | ag-charts-types/dist/types/src/series/cartesian/barOptions.d.ts:48 |
| amCharts 5 | native | grep: cornerRadiusTL | grep · weak | @amcharts/amcharts5/.internal/charts/funnel/FunnelSlice.d.ts:30 |
| Google Charts | none | — | absence · absence | — |
| uPlot | none | — | absence · absence | — |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | native | BarChart.borderRadius | types · strong | @mui/x-charts/BarChart/BarPlot.d.mts:27 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | grep: radius | grep · weak | @antv/g2/lib/coordinate/theta.d.ts:8 |