Skip to main content

Interface: DefaultChartThemes

Defined in: shared/types/chartConfig.ts:468

Interface for default chart themes configuration.

Remarksโ€‹

Defines the structure for the DEFAULT_CHART_THEMES constant, supporting both dark and light theme configurations.

Propertiesโ€‹

darkโ€‹

readonly dark: { backgroundColors: string[]; borderColors: string[]; gridColor: string; textColor: string; tooltipBackgroundColor: string; tooltipTextColor: string; }

Defined in: shared/types/chartConfig.ts:470

Dark theme configuration

backgroundColorsโ€‹

backgroundColors: string[]

borderColorsโ€‹

borderColors: string[]

gridColorโ€‹

gridColor: string

textColorโ€‹

textColor: string

tooltipBackgroundColorโ€‹

tooltipBackgroundColor: string

tooltipTextColorโ€‹

tooltipTextColor: string


lightโ€‹

readonly light: { backgroundColors: string[]; borderColors: string[]; gridColor: string; textColor: string; tooltipBackgroundColor: string; tooltipTextColor: string; }

Defined in: shared/types/chartConfig.ts:479

Light theme configuration

backgroundColorsโ€‹

backgroundColors: string[]

borderColorsโ€‹

borderColors: string[]

gridColorโ€‹

gridColor: string

textColorโ€‹

textColor: string

tooltipBackgroundColorโ€‹

tooltipBackgroundColor: string

tooltipTextColorโ€‹

tooltipTextColor: string