Changed endpoints and db queries, chart now shows suggested mins and maxes
This commit is contained in:
12
charts.html
12
charts.html
@@ -74,8 +74,8 @@
|
|||||||
id: 'y-axis-1',
|
id: 'y-axis-1',
|
||||||
ticks: {
|
ticks: {
|
||||||
fontColor: co2Color,
|
fontColor: co2Color,
|
||||||
min: 400,
|
suggestedMin: 400,
|
||||||
max: 1100,
|
suggestedMax: 1100,
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
type: 'linear',
|
type: 'linear',
|
||||||
@@ -84,8 +84,8 @@
|
|||||||
id: 'y-axis-2',
|
id: 'y-axis-2',
|
||||||
ticks: {
|
ticks: {
|
||||||
fontColor: tempColor,
|
fontColor: tempColor,
|
||||||
min: 10,
|
suggestedMin: 10,
|
||||||
max: 35,
|
suggestedMax: 35,
|
||||||
},
|
},
|
||||||
gridLines: {
|
gridLines: {
|
||||||
drawOnChartArea: false,
|
drawOnChartArea: false,
|
||||||
@@ -97,8 +97,8 @@
|
|||||||
id: 'y-axis-3',
|
id: 'y-axis-3',
|
||||||
ticks: {
|
ticks: {
|
||||||
fontColor: humidityColor,
|
fontColor: humidityColor,
|
||||||
min: 15,
|
suggestedMin: 15,
|
||||||
max: 85,
|
suggestedMax: 85,
|
||||||
},
|
},
|
||||||
gridLines: {
|
gridLines: {
|
||||||
drawOnChartArea: false,
|
drawOnChartArea: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user