Features · type

Area chart

native

Filled area under a line

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

type:'line' + mark.area:true, or mini-area

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

ChartKit spec

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

Units rose in Q2.Units rose in Q2.0204060Q1Q2
{
  "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": {
    "area": true
  }
}

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.area.md.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartConfiguration.options.elements.line.fillline dataset with fill:true (Filler plugin)types · strongchart.js/dist/types/index.d.ts:1953
RechartsnativeAreaChart, Areatypes · strongrecharts/types/chart/AreaChart.d.ts:8
Apache EChartsnativeseries.areaStyletypes · strongecharts/types/dist/shared.d.ts:11100
Highchartsnativeseries.type=areatypes · stronghighcharts/options/abands.d.ts:1386
Plotly.jsnativetrace.fill=tozeroytypes · strongplot-schema.json#traces.{scatter,scattergl,scatterpolargl}.attributes.fill
NivonativeLine.enableAreatypes · strong@nivo/line/dist/types/types.d.ts:145
VictorynativeVictoryAreatypes · strongvictory-area/lib/victory-area.d.ts:31
visxnativeAreaClosed, AreaSeriestypes · strong@visx/shape/lib/shapes/AreaClosed.d.ts:5
ApexChartsnativechart.type=areatypes · strongapexcharts/types/apexcharts.d.ts:1767
Tremor (npm)nativeAreaCharttypes · strong@tremor/react/dist/index.d.ts:97
Observable Plotnativeareatypes · strong@observablehq/plot/src/marks/area.d.ts:134
Vega-Litenativemark=areatypes · strongvega-lite/build/spec/unit.d.ts:19
AG Chartsnativeseries.type=areatypes · strongag-charts-types/dist/types/src/series/cartesian/areaOptions.d.ts:86
amCharts 5nativeLineSeriesfills.visible on line seriestypes · strong@amcharts/amcharts5/.internal/charts/xy/series/LineSeries.d.ts:70
Google ChartsnativeAreaCharttypes · strong@types/google.visualization/index.d.ts:912
uPlotnativeOptions.series.filltypes · stronguplot/dist/uPlot.d.ts:935
TradingView Lightweight ChartsnativeAreaSeriestypes · stronglightweight-charts/dist/typings.d.ts:5
MUI X ChartsnativeLineChart.series.areatypes · strong@mui/x-charts/models/seriesType/line.d.mts:52
Mermaid (chart-ish diagrams only)unknowngrep: areaconflict · unknown—
AntV G2nativeMarkTypes=areatypes · strong@antv/g2/lib/spec/mark.d.ts:13