Skip to main content

Interface: ChartTooltipConfig

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

Chart tooltip configuration interface.

Remarksโ€‹

Defines the structure for Chart.js tooltip configuration.

Propertiesโ€‹

backgroundColor?โ€‹

optional backgroundColor: string

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

Background color


bodyColor?โ€‹

optional bodyColor: string

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

Body color


bodyFont?โ€‹

optional bodyFont: { family?: string; size?: number; style?: ChartFontStyle; weight?: ChartFontWeight; }

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

Body font configuration

family?โ€‹

optional family: string

size?โ€‹

optional size: number

style?โ€‹

optional style: ChartFontStyle

weight?โ€‹

optional weight: ChartFontWeight


borderColor?โ€‹

optional borderColor: string

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

Border color


borderWidth?โ€‹

optional borderWidth: number

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

Border width


cornerRadius?โ€‹

optional cornerRadius: number

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

Corner radius


display?โ€‹

optional display: boolean

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

Whether to display the tooltip


displayColors?โ€‹

optional displayColors: boolean

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

Whether to display colors in tooltip


titleColor?โ€‹

optional titleColor: string

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

Title color


titleFont?โ€‹

optional titleFont: { family?: string; size?: number; style?: ChartFontStyle; weight?: ChartFontWeight; }

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

Title font configuration

family?โ€‹

optional family: string

size?โ€‹

optional size: number

style?โ€‹

optional style: ChartFontStyle

weight?โ€‹

optional weight: ChartFontWeight