Slope chart
partial
Two-point lines comparing before/after
Matrix status partial. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type=line.
two-category line
Source: chartkit:packages/core/src/generated/schema.ts:24
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"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
}
}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.slope.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | partial | ChartTypeRegistry.line | types · strong | chart.js/dist/types/index.d.ts:3715 |
| Recharts | partial | LineChart | types · strong | recharts/types/chart/LineChart.d.ts:8 |
| Apache ECharts | partial | series.type=line | types · strong | echarts/types/dist/shared.d.ts:11176 |
| Highcharts | partial | series.type=line | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | partial | trace.type=scatter | types · strong | plot-schema.json#traces.scatter |
| Nivo | partial | Line | types · strong | @nivo/line/dist/types/Line.d.ts:4 |
| Victory | partial | VictoryLine | types · strong | victory-line/lib/victory-line.d.ts:21 |
| visx | partial | LinePath | types · strong | @visx/shape/lib/shapes/LinePath.d.ts:18 |
| ApexCharts | partial | chart.type=line | types · strong | apexcharts/types/apexcharts.d.ts:1767 |
| Tremor (npm) | partial | LineChart | types · strong | @tremor/react/dist/index.d.ts:130 |
| Observable Plot | partial | line | types · strong | @observablehq/plot/src/marks/line.d.ts:113 |
| Vega-Lite | partial | mark=line | types · strong | vega-lite/build/spec/unit.d.ts:19 |
| AG Charts | partial | series.type=line | types · strong | ag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86 |
| amCharts 5 | partial | LineSeries | types · strong | @amcharts/amcharts5/.internal/charts/xy/series/LineSeries.d.ts:70 |
| Google Charts | partial | LineChart | types · strong | @types/google.visualization/index.d.ts:750 |
| uPlot | partial | Options.series | types · strong | uplot/dist/uPlot.d.ts:375 |
| TradingView Lightweight Charts | none | — | absence · absence | — |
| MUI X Charts | partial | LineChart | types · strong | @mui/x-charts/LineChart/LineChart.d.mts:88 |
| Mermaid (chart-ish diagrams only) | unknown | — | conflict · unknown | — |
| AntV G2 | partial | MarkTypes=line | types · strong | @antv/g2/lib/spec/mark.d.ts:13 |