From 4fad6b2858c9e6866995cddb6eb3c0fb05768767 Mon Sep 17 00:00:00 2001 From: Felix Krause Date: Thu, 21 Apr 2022 17:25:25 +0200 Subject: [PATCH] Add additional keys --- index.html | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/index.html b/index.html index c41df4d..52cd27b 100644 --- a/index.html +++ b/index.html @@ -44,6 +44,20 @@ "rounding": 1, "good": "up", "percentage": false + }, { + "name": "withingssleepinghr", + "customTitle": "Sleeping HR", + "unit": "beats/min", + "rounding": 1, + "good": "bad", + "percentage": false + }, { + "name": "alcoholintake", + "customTitle": "Alcohol Intake", + "unit": "drinks/day", + "rounding": 1, + "good": "bad", + "percentage": false }, { "name": "veggies", "customTitle": "Ate Vegetables", @@ -58,7 +72,36 @@ "rounding": 1, "good": "up", "percentage": false + }, { + "name": "healthy", + "customTitle": "Healthy", + "unit": "", + "rounding": 1, + "good": "up", + "percentage": false + }, { + "name": "headache", + "customTitle": "Headache", + "unit": "", + "rounding": 1, + "good": "bad", + "percentage": false + }, { + "name": "hoursdriving", + "customTitle": "Hours Driven", + "unit": "hours", + "rounding": 1, + "good": "up", + "percentage": false + }, { + "name": "macroadherence", + "customTitle": "Macro Counting Adherence", + "unit": "", + "rounding": 1, + "good": "up", + "percentage": false }]; + // Key have to be lower case const rows = ["week", "month", "quarter", "year"] for (var i = 0; i < keys.length; i++) { const keyData = keys[i];