# Pattern fills / non-colour encoding

ChartKit: **partial**

Patterns or shapes so colour is not the only cue

Matrix status: `partial`. Verification: `dts-path` (strong).

dashes only; no fills

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

## ChartKit spec

```json
{
  "version": "1",
  "type": "line",
  "data": [
    {
      "quarter": "Q1",
      "units": 40
    },
    {
      "quarter": "Q2",
      "units": 55
    }
  ],
  "encoding": {
    "x": "quarter",
    "y": {
      "field": "units",
      "dash": "dashed"
    }
  },
  "a11y": {
    "alt": "Units rose in Q2."
  },
  "size": {
    "width": 640,
    "height": 260
  }
}
```

This snippet passed `validate()` (or `validatePhase4()` for phase 4) and `render()` did not return `ck-chart-error`.

## Other libraries

| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | plugin | — | npm (weak) | — |
| Recharts | manual | Customized | dts-mechanism (weak) | recharts/types/component/Customized.d.ts:26 |
| Apache ECharts | native | aria.decal.show | dts-path (strong) | echarts/types/dist/shared.d.ts:8473 |
| Highcharts | plugin | ~patternFill | dts-grep (weak) | highcharts/modules/pictorial.src.d.ts:26 |
| Plotly.js | native | trace.marker.pattern | dts-path (strong) | plot-schema.json#traces.{bar,barpolar,funnelarea,histogram,icicle,pie,…}.attributes.marker.pattern |
| Nivo | native | Bar.defs | dts-path (strong) | @nivo/core/index.d.ts:71 |
| Victory | manual | VictoryBarProps.dataComponent | dts-mechanism (weak) | victory-core/lib/victory-util/common-props.d.ts:9 |
| visx | native | PatternLines | dts-path (strong) | @visx/pattern/lib/patterns/Lines.d.ts:30 |
| ApexCharts | native | fill.pattern | dts-path (strong) | apexcharts/types/apexcharts.d.ts:4579 |
| Tremor (npm) | none | — | dts-absence (absence) | — |
| Observable Plot | manual | ~render | dts-mechanism (weak) | @observablehq/plot/src/scales.d.ts:166 |
| Vega-Lite | native | ~strokeDash\|shape | dts-grep (weak) | 422:          "description" |
| AG Charts | native | ~pattern | dts-grep (weak) | ag-charts-community/dist/types/src/module-support.d.ts:61 |
| amCharts 5 | native | ~LinePattern | dts-grep (weak) | @amcharts/amcharts5/index.d.ts:56 |
| Google Charts | none | — | dts-absence (absence) | — |
| uPlot | none | — | dts-absence (absence) | — |
| TradingView Lightweight Charts | none | — | dts-absence (absence) | — |
| MUI X Charts | manual | ChartsContainer | dts-mechanism (weak) | @mui/x-charts/ChartsContainer/ChartsContainer.d.mts:34 |
| Mermaid (chart-ish diagrams only) | none | — | dts-absence (absence) | — |
| AntV G2 | unknown | ~pattern | unverified (unknown) | — |

Other libraries were checked on 2026-10-18 against types and schemas, not by rendering. ChartKit was rechecked on 2026-10-19 against 236653ac9462.

https://chartkit.dev/features.json
