From b01bdcfcaedd193294235806edb9cded8a583cf9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 10 May 2022 09:23:58 +0200 Subject: Add min range to stats graphs --- client/src/app/+stats/video/video-stats.component.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index b6b71d463..51738f8dc 100644 --- a/client/src/app/+stats/video/video-stats.component.ts +++ b/client/src/app/+stats/video/video-stats.component.ts @@ -449,6 +449,11 @@ export class VideoStatsComponent implements OnInit { this.peertubeRouter.silentNavigate([], { startDate, endDate }) this.addAndSelectCustomDateFilter() } + }, + limits: { + x: { + minRange: 2 + } } } }, -- cgit v1.2.3