Features · mark

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.

Lane C has more.Lane C has more.051015AC
{
  "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.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartConfiguration.data.datasets.borderRadiustypes · strongchart.js/dist/types/index.d.ts:2119
RechartsnativeBar.radiustypes · strongrecharts/types/cartesian/Bar.d.ts:175
Apache EChartsnativeseries.itemStyle.borderRadiustypes · strongecharts/types/dist/shared.d.ts:11170
HighchartsnativeplotOptions.column.borderRadiustypes · stronghighcharts/options/column.d.ts:612
Plotly.jsnativelayout.barcornerradiustypes · strongplot-schema.json#layout.layoutAttributes.barcornerradius
NivonativeBar.borderRadiustypes · strong@nivo/bar/dist/types/types.d.ts:152
VictorynativeVictoryBar.cornerRadiustypes · strongvictory-bar/lib/victory-bar.d.ts:11
visxnativeBarRoundedtypes · strong@visx/shape/lib/shapes/BarRounded.d.ts:43
ApexChartsnativeplotOptions.bar.borderRadiustypes · strongapexcharts/types/apexcharts.d.ts:3103
Tremor (npm)none—absence · absence—
Observable Plotnativegrep: rxrx, ry, r on barsgrep · weak@observablehq/plot/src/scales.d.ts:15
Vega-Litenativegrep: cornerRadiusgrep · weak259: "cornerRadius"
AG Chartsnativeseries.cornerRadiustypes · strongag-charts-types/dist/types/src/series/cartesian/barOptions.d.ts:48
amCharts 5nativegrep: cornerRadiusTLgrep · weak@amcharts/amcharts5/.internal/charts/funnel/FunnelSlice.d.ts:30
Google Chartsnone—absence · absence—
uPlotnone—absence · absence—
TradingView Lightweight Chartsnone—absence · absence—
MUI X ChartsnativeBarChart.borderRadiustypes · strong@mui/x-charts/BarChart/BarPlot.d.mts:27
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2nativegrep: radiusgrep · weak@antv/g2/lib/coordinate/theta.d.ts:8