Features · mark

Line caps / joins

native

Stroke cap and join styles

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.mark.linecap.

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

ChartKit spec

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

Units rose in Q2.Units rose in Q2.40455055Q1Q2
{
  "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
  },
  "mark": {
    "linecap": "round"
  }
}

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.line.cap.md.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartConfiguration.data.datasets.borderCapStyle, ChartConfiguration.data.datasets.borderJoinStyletypes · strongchart.js/dist/types/index.d.ts:1914
RechartsnativeLine.strokeLinecaptypes · strong@types/react/index.d.ts:3925
Apache EChartsnativeseries.lineStyle.cap, series.lineStyle.jointypes · strongecharts/types/dist/shared.d.ts:7783
HighchartsnativeplotOptions.series.linecaptypes · stronghighcharts/options/series.d.ts:1039
Plotly.jsnone—absence · absence—
Nivonone—absence · absence—
VictorynativeVictoryLine.styletypes · strongvictory-line/lib/victory-line.d.ts:84
visxnativeLinePath.strokeLinecaptypes · strong@types/react/index.d.ts:3925
ApexChartsnativestroke.lineCaptypes · strongapexcharts/types/apexcharts.d.ts:2650
Tremor (npm)none—absence · absence—
Observable Plotnativegrep: strokeLinecapgrep · weak@observablehq/plot/src/mark.d.ts:373
Vega-Litenativegrep: strokeCapgrep · weak725: "strokeCap"
AG Chartsunknown—conflict · unknown—
amCharts 5nativegrep: strokeLinecapgrep · weak@amcharts/amcharts5/.internal/core/render/scene/SceneNode.d.ts:144
Google Chartsnone—absence · absence—
uPlotnativeOptions.series.captypes · stronguplot/dist/uPlot.d.ts:944
TradingView Lightweight Chartsnone—absence · absence—
MUI X Chartspartialgrep: strokeLinecapvia sxgrep · weak@mui/x-charts/ChartsXAxis/useAxisTicksProps.d.ts:4148
Mermaid (chart-ish diagrams only)none—absence · absence—
AntV G2nativegrep: lineCapgrep · weak@antv/g2/lib/theme/create.d.ts:53