Features · type

Step line

native

Line drawn as horizontal/vertical steps (before/after/middle)

Matrix status native. Verification types · strong. ChartKit option: mark.curve=step.

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

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": {
    "curve": "step"
  }
}

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: type.line.step.md.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartConfiguration.options.elements.line.steppedtypes · strongchart.js/dist/types/index.d.ts:1949
RechartsnativeLine.type=steptypes · strongrecharts/types/shape/Curve.d.ts:25
Apache EChartsnativeseries.steptypes · strongecharts/types/dist/shared.d.ts:11103
HighchartsnativeplotOptions.line.steptypes · stronghighcharts/options/line.d.ts:1254
Plotly.jsnativetrace.line.shape=hvtypes · strongplot-schema.json#traces.{scatter,scattergl}.attributes.line.shape
NivonativeLine.curve=steptypes · strong@nivo/line/dist/types/types.d.ts:135
VictorynativeVictoryLine.interpolation=steptypes · strongvictory-line/lib/victory-line.d.ts:83
visxnativeLinePath.curvepass d3 curveStep from @visx/curvetypes · strong@visx/shape/lib/types/D3ShapeConfig.d.ts:43
ApexChartsnativestroke.curve=steplinetypes · strongapexcharts/types/apexcharts.d.ts:2649
Tremor (npm)nativeLineChart.curveType=steptypes · strong@tremor/react/dist/index.d.ts:127
Observable Plotnativelinecurve: 'step' | 'step-before' | 'step-after'types · strong@observablehq/plot/src/marks/line.d.ts:113
Vega-Litenativemark.interpolatetypes · strongvega-lite/build/compositemark/errorband.d.ts:51
AG Chartsnativeseries.interpolationinterpolation.type 'step'types · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:34
amCharts 5nativeStepLineSeriestypes · strong@amcharts/amcharts5/.internal/charts/xy/series/StepLineSeries.d.ts:35
Google Chartsunknown—no stepped line; SteppedAreaChart existsconflict · unknown—
uPlotnativegrep: steppedgrep · weak701: export interface SteppedPathBuilderOpts {
TradingView Lightweight ChartsnativeLineSerieslineType: LineType.WithStepstypes · stronglightweight-charts/dist/typings.d.ts:10
MUI X ChartsnativeLineChart.series.curve=steptypes · strong@mui/x-charts/models/seriesType/line.d.mts:111
Mermaid (chart-ish diagrams only)unknowngrep: stepconflict · unknown—
AntV G2nativegrep: stepgrep · weak@antv/g2/lib/data/wordCloud.d.ts:9