Skip to main content

Interface: ResponseTimeChartData

Defined in: src/services/chartConfig.ts:60

Response time line chart data structure.

Remarksโ€‹

Aligns with the dataset shape produced by useSiteAnalytics for time-series response visualisations.

Extendsโ€‹

Propertiesโ€‹

datasetsโ€‹

datasets: { backgroundColor: string; borderColor: string; data: (number | null)[]; fill: boolean; label: string; tension: number; }[]

Defined in: src/services/chartConfig.ts:62

Dataset configuration for response time line chart

backgroundColorโ€‹

backgroundColor: string

Fill color for area under the line

borderColorโ€‹

borderColor: string

Line color

dataโ€‹

data: (number | null)[]

Response time data points (null for missing data)

fillโ€‹

fill: boolean

Whether to fill area under the line

labelโ€‹

label: string

Chart legend label

tensionโ€‹

tension: number

Line curve smoothness (0-1)

Overridesโ€‹

ChartData.datasets