Features · theme

Built-in themes

native

Named theme presets

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.theme.preset.

20+ presets

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

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
  },
  "theme": {
    "preset": "midnight"
  }
}

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: theme.presets.md.

LibraryStatusOptionVerificationSource
Chart.jsnone—defaults only; Colors pluginabsence · absence—
Rechartsunknown—style via props/CSSconflict · unknown—
Apache EChartsnativegrep: registerThemeecharts.init(el, 'dark'), registerThemegrep · weakecharts/types/src/core/echarts.d.ts:411
Highchartsnativegrep: themeHighcharts.setOptions + themes/ (dark-unica, grid-light...)grep · weakhighcharts/highcharts.src.d.ts:1415
Plotly.jsnativelayout.templateplotly, plotly_dark, ggplot2, seaborn...types · strongplot-schema.json#layout.layoutAttributes.template
NivonativeLine.themetypes · strong@nivo/line/dist/types/types.d.ts:136
VictorynativeVictoryChart.themegrayscale, material, cleantypes · strongvictory-core/lib/victory-util/common-props.d.ts:58
visxnativegrep: buildChartThemegrep · weak@visx/xychart/lib/index.d.ts:36
ApexChartsnativetheme.palette, theme.modetypes · strongapexcharts/types/apexcharts.d.ts:5304
Tremor (npm)unknown—Tailwind-based stylingconflict · unknown—
Observable Plotnone—absence · absence—
Vega-Litenativegrep: configvega-themes (separate package)grep · weak130: "AnyMarkConfig"
AG Chartsnativegrep: themeag-default, ag-sheets, ag-polychroma, ag-vivid, ag-material + darkgrep · weakag-charts-types/dist/types/src/main.d.ts:38
amCharts 5nativegrep: AnimatedThemethemes package (Animated, Dark, Dataviz...)grep · weak@amcharts/amcharts5/.internal/themes/KellyDarkTheme.d.ts:10
Google Chartsnativegrep: themetheme: 'material' onlygrep · weak@types/google.visualization/index.d.ts:696
uPlotnone—absence · absence—
TradingView Lightweight Chartsnativegrep: layoutgrep · weak515: * The crosshair marker background color. An empty string falls back to the color of the series under the crosshair.
MUI X Chartsunknowngrep: ThemeProviderMUI themeunverified · unknown—
Mermaid (chart-ish diagrams only)nativegrep: themedefault, neutral, dark, forest, basegrep · weakmermaid/dist/utils.d.ts:11
AntV G2nativegrep: themelight, dark, classic, academygrep · weak@antv/g2/lib/index.d.ts:105