Changed endpoints and db queries, chart now shows suggested mins and maxes

This commit is contained in:
Daniel Ledda
2020-11-07 01:36:14 +01:00
parent fa347815cc
commit b88e10aafe

View File

@@ -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,