Features · mark

Per-series colour

native

Set the colour of a series explicitly

Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.encoding.y.color.

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

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: mark.color.series.md.

LibraryStatusOptionVerificationSource
Chart.jsnativeChartConfiguration.data.datasets.borderColor, ChartConfiguration.data.datasets.backgroundColortypes · strongchart.js/dist/types/index.d.ts:1827
RechartsnativeLine.stroke, Bar.filltypes · strong@types/react/index.d.ts:3922
Apache EChartsnativeseries.itemStyle.color, series.lineStyle.colortypes · strongecharts/types/dist/shared.d.ts:7768
Highchartsnativeseries.colortypes · stronghighcharts/options/abands.d.ts:645
Plotly.jsnativetrace.marker.color, trace.line.colortypes · strongplot-schema.json#traces.{bar,barpolar,box,funnel,histogram,histogram2d,…}.attributes.marker.color
NivonativeLine.colorstypes · strong@nivo/line/dist/types/types.d.ts:137
VictorynativeVictoryLine.styletypes · strongvictory-line/lib/victory-line.d.ts:84
visxnativeLinePath.stroketypes · strong@types/react/index.d.ts:3922
ApexChartsnativecolorstypes · strongapexcharts/types/apexcharts.d.ts:1457
Tremor (npm)nativeLineChart.colorstypes · strong@tremor/react/dist/index.d.ts:59
Observable Plotnativegrep: strokechannel or constantgrep · weak@observablehq/plot/src/symbol.d.ts:5
Vega-Litenativegrep: colorgrep · weak238: "description"
AG Chartsnativeseries.stroke, series.filltypes · strongag-charts-types/dist/types/src/series/cartesian/commonOptions.d.ts:148
amCharts 5nativegrep: strokegrep · weak@amcharts/amcharts5/.internal/plugins/json/ChartSerializer.d.ts:42
Google ChartsnativeLineChartOptions.colorstypes · strong@types/google.visualization/index.d.ts:786
uPlotnativeOptions.series.stroketypes · stronguplot/dist/uPlot.d.ts:932
TradingView Lightweight Chartsnativegrep: LineStyleOptionsgrep · weak24: * Represents a type of color.
MUI X ChartsnativeLineChart.series.colortypes · strong@mui/x-charts/models/seriesType/common.d.mts:26
Mermaid (chart-ish diagrams only)nativegrep: plotColorPalettexyChart themeVariables palette onlygrep · weakmermaid/dist/diagrams/xychart/chartBuilder/interfaces.d.ts:20
AntV G2nativegrep: colorgrep · weak@antv/g2/lib/index.d.ts:43