From b88e10aafebc600110940e5c7abdd721062df744 Mon Sep 17 00:00:00 2001 From: Daniel Ledda Date: Sat, 7 Nov 2020 01:36:14 +0100 Subject: [PATCH] Changed endpoints and db queries, chart now shows suggested mins and maxes --- charts.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/charts.html b/charts.html index 9cd40c2..c8e43f6 100644 --- a/charts.html +++ b/charts.html @@ -74,8 +74,8 @@ id: 'y-axis-1', ticks: { fontColor: co2Color, - min: 400, - max: 1100, + suggestedMin: 400, + suggestedMax: 1100, }, }, { type: 'linear', @@ -84,8 +84,8 @@ id: 'y-axis-2', ticks: { fontColor: tempColor, - min: 10, - max: 35, + suggestedMin: 10, + suggestedMax: 35, }, gridLines: { drawOnChartArea: false, @@ -97,8 +97,8 @@ id: 'y-axis-3', ticks: { fontColor: humidityColor, - min: 15, - max: 85, + suggestedMin: 15, + suggestedMax: 85, }, gridLines: { drawOnChartArea: false,