Skip to main content

Interface: ChartTitleConfig

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

Chart title configuration interface.

Remarksโ€‹

Defines the structure for Chart.js title configuration.

Propertiesโ€‹

align?โ€‹

optional align?: ChartAlign

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

Title text alignment


color?โ€‹

optional color?: string

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

Title color


display?โ€‹

optional display?: boolean

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

Whether to display the title


font?โ€‹

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

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

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:397

Title padding


position?โ€‹

optional position?: ChartAlignment

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

Title position


text?โ€‹

optional text?: Arrayable<string>

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

Title text