Skip to main content

Interface: ResponseTimeChartData

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

Response time line chart data structure.

Remarksโ€‹

Aligns with the dataset shape produced by the site analytics hook for time-series response visualisations.

Hierarchyโ€‹

View Summary

Extendsโ€‹

Propertiesโ€‹

datasetsโ€‹

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

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

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;