Interface: ChartLegendConfig
Defined in: shared/types/chartConfig.ts:235
Chart legend configuration interface.
Remarksโ
Defines the structure for Chart.js legend configuration.
Propertiesโ
display?โ
optionaldisplay:boolean
Defined in: shared/types/chartConfig.ts:237
Whether to display the legend
labels?โ
optionallabels: {boxHeight?:number;boxWidth?:number;color?:string;font?: {family?:string;size?:number;style?:ChartFontStyle;weight?:ChartFontWeight; };padding?:number;usePointStyle?:boolean; }
Defined in: shared/types/chartConfig.ts:239
Labels configuration
boxHeight?โ
optionalboxHeight:number
boxWidth?โ
optionalboxWidth:number
color?โ
optionalcolor:string
font?โ
optionalfont: {family?:string;size?:number;style?:ChartFontStyle;weight?:ChartFontWeight; }
font.family?โ
optionalfamily:string
font.size?โ
optionalsize:number
font.style?โ
optionalstyle:ChartFontStyle
font.weight?โ
optionalweight:ChartFontWeight
padding?โ
optionalpadding:number
usePointStyle?โ
optionalusePointStyle:boolean
position?โ
optionalposition:ChartLegendPosition
Defined in: shared/types/chartConfig.ts:253
Legend position