Features · mark

Line width

native

Stroke width of lines/borders

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

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

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": {
    "strokeWidth": 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.stroke.width.md.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartConfiguration.data.datasets.borderWidthtypes · strongchart.js/dist/types/index.d.ts:1826
RechartsnativeLine.strokeWidthtypes · strong@types/react/index.d.ts:3929
Apache EChartsnativeseries.lineStyle.widthtypes · strongecharts/types/dist/shared.d.ts:7779
HighchartsnativeplotOptions.series.lineWidthtypes · stronghighcharts/options/series.d.ts:1043
Plotly.jsnativetrace.line.widthtypes · strongplot-schema.json#traces.{box,candlestick,contour,contourcarpet,histogram2dcontour,ohlc,…}.attributes.line.width
NivonativeLine.lineWidthtypes · strong@nivo/line/dist/types/types.d.ts:138
VictorynativeVictoryLine.styletypes · strongvictory-line/lib/victory-line.d.ts:84
visxnativeLinePath.strokeWidthtypes · strong@types/react/index.d.ts:3929
ApexChartsnativestroke.widthtypes · strongapexcharts/types/apexcharts.d.ts:2652
Tremor (npm)unknown—conflict · unknown—
Observable Plotnativegrep: strokeWidthgrep · weak@observablehq/plot/src/channel.d.ts:47
Vega-Litenativegrep: strokeWidthgrep · weak807: "strokeWidth"
AG Chartsnativeseries.strokeWidthtypes · strongag-charts-types/dist/types/src/series/cartesian/commonOptions.d.ts:150
amCharts 5nativegrep: strokeWidthgrep · weak@amcharts/amcharts5/.internal/charts/xy/XYChart.d.ts:34
Google ChartsnativeLineChartOptions.lineWidthtypes · strong@types/google.visualization/index.d.ts:799
uPlotnativeOptions.series.widthtypes · stronguplot/dist/uPlot.d.ts:929
TradingView Lightweight Chartsnativegrep: lineWidthgrep · weak471: lineWidth
MUI X Chartsnativegrep: strokeWidthvia sx / slotPropsgrep · weak@mui/x-charts/ChartsYAxis/useAxisTicksProps.d.ts:4071
Mermaid (chart-ish diagrams only)nativeMermaidConfig.xyChartplotReservedSpacePercent etc; line width in themetypes · strongmermaid/dist/config.type.d.ts:225
AntV G2nativegrep: lineWidthgrep · weak@antv/g2/lib/theme/create.d.ts:52