From b5abce161f24ef11fbe74f6b422bd722aab2010d Mon Sep 17 00:00:00 2001 From: felix <60808107+ItsFelix5@users.noreply.github.com> Date: Wed, 29 Jan 2025 21:08:29 +0100 Subject: [PATCH] Update ChartDisplay.vue (#3200) Signed-off-by: felix <60808107+ItsFelix5@users.noreply.github.com> --- apps/frontend/src/components/ui/charts/ChartDisplay.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/frontend/src/components/ui/charts/ChartDisplay.vue b/apps/frontend/src/components/ui/charts/ChartDisplay.vue index f57a92f4d..a6ca889c1 100644 --- a/apps/frontend/src/components/ui/charts/ChartDisplay.vue +++ b/apps/frontend/src/components/ui/charts/ChartDisplay.vue @@ -693,6 +693,14 @@ const defaultRanges: RangeObject[] = [ }), timeResolution: 40320, }, + { + getLabel: () => "All Time", + getDates: (currentDate: dayjs.Dayjs) => ({ + startDate: dayjs(0), + endDate: currentDate, + }), + timeResolution: 40320, + }, ];