diff --git a/app/graph/model.ts b/app/graph/model.ts index 31b9acac..ab779ec0 100644 --- a/app/graph/model.ts +++ b/app/graph/model.ts @@ -42,7 +42,7 @@ export function getCategoryColorName(index: number): string { return COLORS_ORDER[index] } -function getCategoryColorValue(index: number): string { +function getCategoryColorValue(index=0): string { index = index