Interface: ChartDatasetConfig
Defined in: shared/types/chartConfig.ts:204
Chart dataset configuration interface.
Remarksโ
Defines the structure for Chart.js dataset configuration.
Propertiesโ
backgroundColor?โ
optionalbackgroundColor:string|string[]
Defined in: shared/types/chartConfig.ts:206
Background color
borderColor?โ
optionalborderColor:string|string[]
Defined in: shared/types/chartConfig.ts:208
Border color
borderWidth?โ
optionalborderWidth:number
Defined in: shared/types/chartConfig.ts:210
Border width
dataโ
data: (
number|ChartDataPoint)[]
Defined in: shared/types/chartConfig.ts:212
Dataset data points
fill?โ
optionalfill:boolean
Defined in: shared/types/chartConfig.ts:214
Whether to fill the area under the line
label?โ
optionallabel:string
Defined in: shared/types/chartConfig.ts:216
Dataset label
pointBackgroundColor?โ
optionalpointBackgroundColor:string|string[]
Defined in: shared/types/chartConfig.ts:218
Point background color
pointBorderColor?โ
optionalpointBorderColor:string|string[]
Defined in: shared/types/chartConfig.ts:220
Point border color
pointRadius?โ
optionalpointRadius:number|number[]
Defined in: shared/types/chartConfig.ts:222
Point radius
tension?โ
optionaltension:number
Defined in: shared/types/chartConfig.ts:224
Tension for line charts