API REFERENCE

ChartTheme

The ChartTheme type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface ChartTheme {
  readonly name: string;
  readonly cssClass?: string;
  readonly background: string;
  readonly surface: string;
  readonly text: string;
  readonly textMuted: string;
  readonly border: string;
  readonly gridLine: string;
  readonly axisLine: string;
  readonly axisLabel: string;
  readonly tooltipBackground: string;
  readonly tooltipText: string;
  readonly accent: string;
  readonly hover: string;
  readonly palette: ReadonlyArray<string>;
}