Interface: ChartDatasetConfig
Defined in: shared/types/chartConfig.ts:207
Chart dataset configuration interface.
Remarksโ
Defines the structure for Chart.js dataset configuration.
Propertiesโ
backgroundColor?โ
optionalbackgroundColor?:Arrayable<string>
Defined in: shared/types/chartConfig.ts:209
Background color
borderColor?โ
optionalborderColor?:Arrayable<string>
Defined in: shared/types/chartConfig.ts:211
Border color
borderWidth?โ
optionalborderWidth?:number
Defined in: shared/types/chartConfig.ts:213
Border width
dataโ
data: (
number|ChartDataPoint)[]
Defined in: shared/types/chartConfig.ts:215
Dataset data points
fill?โ
optionalfill?:boolean
Defined in: shared/types/chartConfig.ts:217
Whether to fill the area under the line
label?โ
optionallabel?:string
Defined in: shared/types/chartConfig.ts:219
Dataset label
pointBackgroundColor?โ
optionalpointBackgroundColor?:Arrayable<string>
Defined in: shared/types/chartConfig.ts:221
Point background color
pointBorderColor?โ
optionalpointBorderColor?:Arrayable<string>
Defined in: shared/types/chartConfig.ts:223
Point border color
pointRadius?โ
optionalpointRadius?:Arrayable<number>
Defined in: shared/types/chartConfig.ts:225
Point radius
tension?โ
optionaltension?:number
Defined in: shared/types/chartConfig.ts:227
Tension for line charts