Skip to main content

Interface: StatusBarChartData

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

Status distribution bar chart data structure.

Remarksโ€‹

Mirrors the payload supplied to the uptime status bar chart rendered on the overview dashboard. Keeps Chart.js generics strictly typed inside the UI layer.

Hierarchyโ€‹

View Summary

Extendsโ€‹

Propertiesโ€‹

datasetsโ€‹

datasets: {
backgroundColor: string[];
borderColor: string[];
borderWidth: number;
data: number[];
label: string;
}[];

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

Dataset configuration for status bar chart

backgroundColorโ€‹

backgroundColor: string[];

Fill colors for each bar

borderColorโ€‹

borderColor: string[];

Border colors for each bar

borderWidthโ€‹

borderWidth: number;

Border width for bars

dataโ€‹

data: number[];

Status count data for each category

labelโ€‹

label: string;

Chart legend label

Overridesโ€‹

ChartData.datasets;

labelsโ€‹

labels: string[];

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

Status category labels for x-axis

Overridesโ€‹

ChartData.labels;