From 5bf171eb6e77cd740643665f9d0cef7ca7252ddd Mon Sep 17 00:00:00 2001
From: Pithon Kabiro <pithon.kabiro@hft-stuttgart.de>
Date: Wed, 21 Jul 2021 21:44:25 +0200
Subject: [PATCH] Change the default range selector for line chart

`Range selector` is analogous to the `zoom` of a chart. Set it to
display all the available observations from a datastream.
---
 public/js/appChart.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/js/appChart.js b/public/js/appChart.js
index e988ceb..e501380 100644
--- a/public/js/appChart.js
+++ b/public/js/appChart.js
@@ -408,7 +408,7 @@ const drawLineChartHC = function (
     },
 
     rangeSelector: {
-      selected: 1,
+      selected: 5,
     },
 
     title: {
-- 
GitLab