Skip to main content

Interface: ChartTitleConfig

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

Chart title configuration interface.

Remarksโ€‹

Defines the structure for Chart.js title configuration.

Propertiesโ€‹

align?โ€‹

optional align: ChartAlign

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

Title text alignment


color?โ€‹

optional color: string

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

Title color


display?โ€‹

optional display: boolean

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

Whether to display the title


font?โ€‹

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

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

Title font configuration

family?โ€‹

optional family: string

lineHeight?โ€‹

optional lineHeight: number

size?โ€‹

optional size: number

style?โ€‹

optional style: ChartFontStyle

weight?โ€‹

optional weight: ChartFontWeight


padding?โ€‹

optional padding: number

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

Title padding


position?โ€‹

optional position: ChartAlignment

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

Title position


text?โ€‹

optional text: string | string[]

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

Title text