Skip to main content

Interface: ChartDatasetConfig

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

Chart dataset configuration interface.

Remarksโ€‹

Defines the structure for Chart.js dataset configuration.

Propertiesโ€‹

backgroundColor?โ€‹

optional backgroundColor: string | string[]

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

Background color


borderColor?โ€‹

optional borderColor: string | string[]

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

Border color


borderWidth?โ€‹

optional borderWidth: 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?โ€‹

optional fill: boolean

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

Whether to fill the area under the line


label?โ€‹

optional label: string

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

Dataset label


pointBackgroundColor?โ€‹

optional pointBackgroundColor: string | string[]

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

Point background color


pointBorderColor?โ€‹

optional pointBorderColor: string | string[]

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

Point border color


pointRadius?โ€‹

optional pointRadius: number | number[]

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

Point radius


tension?โ€‹

optional tension: number

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

Tension for line charts