Skip to content

grafit-charts


Interface: ThemeOptions ​

Custom theme: baseTheme + palette + params (design tokens) + axis chrome.

Properties ​

axis? ​

optional axis?: ThemeAxisOptions


baseTheme? ​

optional baseTheme?: ThemeName


overrides? ​

optional overrides?: object & Record<string, Record<string, unknown> | { series?: Record<string, unknown>; } | undefined>

Partial options applied underneath user options: common — chart-level blocks for all charts; seriesType.series — defaults for series of that type.

Type Declaration ​

common? ​

optional common?: Record<string, unknown>


palette? ​

optional palette?: object

fills? ​

optional fills?: string[]

sequential? ​

optional sequential?: string[]

Continuous ramp for colorField series (heatmap) and gradient legends.

strokes? ​

optional strokes?: string[]


params? ​

optional params?: ThemeParams