SYNC: chart - support group by week

This commit is contained in:
SPRINX0\prochazka
2025-09-26 16:51:03 +02:00
committed by Diflow
parent 6a6633e151
commit bcbd96c608
3 changed files with 62 additions and 10 deletions

View File

@@ -4,6 +4,7 @@ export type ChartXTransformFunction =
| 'date:minute'
| 'date:hour'
| 'date:day'
| 'date:week'
| 'date:month'
| 'date:year';
export type ChartYAggregateFunction = 'sum' | 'first' | 'last' | 'min' | 'max' | 'count' | 'avg';
@@ -70,6 +71,7 @@ export interface ChartDateParsed {
minute?: number;
second?: number;
fraction?: string;
week?: number;
}
export interface ChartAvailableColumn {