Type-level per-chart-type option narrowing
partial
Options narrowed by chart/series type
Matrix status partial. Verification types · strong. ChartKit option: ChartKitChartSpecV1.type.
one shape; per-type rules enforced by validate()
Source: chartkit:packages/core/src/generated/schema.ts:24
No spec snippet. This row is not a single chart option validate() can show.
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: ts.inference.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | native | ChartTypeRegistryChartConfiguration<TType> narrows options per type | types · strong | chart.js/dist/types/index.d.ts:3706 |
| Recharts | partial | LineChart | types · strong | recharts/types/chart/LineChart.d.ts:8 |
| Apache ECharts | native | series.typediscriminated SeriesOption union | types · strong | echarts/types/dist/shared.d.ts:11176 |
| Highcharts | native | series.typediscriminated SeriesOptionsType union | types · strong | highcharts/options/abands.d.ts:1386 |
| Plotly.js | native | trace.type | types · strong | plot-schema.json#traces.{bar,barpolar,box,candlestick,carpet,choropleth,…}.attributes.type |
| Nivo | partial | Line | types · strong | @nivo/line/dist/types/Line.d.ts:4 |
| Victory | partial | VictoryChart | types · strong | victory-chart/lib/victory-chart.d.ts:3 |
| visx | partial | LinePath | types · strong | @visx/shape/lib/shapes/LinePath.d.ts:18 |
| ApexCharts | partial | chart.type | types · strong | apexcharts/types/apexcharts.d.ts:1767 |
| Tremor (npm) | partial | LineChart | types · strong | @tremor/react/dist/index.d.ts:130 |
| Observable Plot | partial | PlotOptions | types · strong | @observablehq/plot/src/plot.d.ts:7 |
| Vega-Lite | native | mark=line | types · strong | vega-lite/build/spec/unit.d.ts:19 |
| AG Charts | native | series.type | types · strong | ag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86 |
| amCharts 5 | partial | ILineSeriesSettings | types · strong | @amcharts/amcharts5/.internal/charts/xy/series/LineSeries.d.ts:13 |
| Google Charts | partial | LineChartOptions | types · strong | @types/google.visualization/index.d.ts:779 |
| uPlot | partial | Options | types · strong | uplot/dist/uPlot.d.ts:338 |
| TradingView Lightweight Charts | partial | LineSeries | types · strong | lightweight-charts/dist/typings.d.ts:10 |
| MUI X Charts | native | LineChart.series | types · strong | @mui/x-charts/LineChart/LineChart.d.mts:26 |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | native | G2Spec.type | types · strong | @antv/g2/lib/spec/composition.d.ts:14 |