Inside temp removed, so far. Outside temp not displayed bug fixed

This commit is contained in:
2019-08-25 22:14:15 +02:00
parent 7a3890e45e
commit 5b4509709f
4 changed files with 28 additions and 85 deletions

View File

@@ -93,58 +93,6 @@ data['wind_monitor'],
temphumi_out = new Dygraph(
document.getElementById("temphumi"),
data['temphumi_monitor'],
{
axes : {
x : {
drawGrid: true,
drawAxis : false
},
y : {
drawGrid: false,
drawAxis : true,
},
y2 : {
drawGrid: false,
drawAxis: true,
independentTicks: true
}
},
rollPeriod: 5,
visibility: [false, true, false, true],
interactionModel: {},
connectSeparatedPoints: true,
series:{
'T(out)': {
axis: 'y',
color: '#705555',
fillGraph: true,
fillAlpha: 0.2
},
'T(ins)': {
axis: 'y',
color: '#705555',
fillGraph: true,
fillAlpha: 0.2
},
'Humi(out)': {
axis: 'y2',
color: '#222288'
},
'Humi(ins)': {
axis: 'y2',
color: '#222288'
}
},
ylabel: '<span style="color:#555555;">Outside [&deg;C]</span>',
y2label: '<span style="color:#222288;">Humidity [%]</span>',
labelsDiv: 'temphumi_labels',
legend: 'always'
}
);
temphumi_in = new Dygraph(
document.getElementById("temphumi_in"),
data['temphumi_monitor'],
{
axes : {
x : {
@@ -164,7 +112,7 @@ data['temphumi_monitor'],
}
},
rollPeriod: 5,
visibility: [true, false, true, false],
visibility: [true, true],
interactionModel: {},
connectSeparatedPoints: true,
series:{
@@ -174,19 +122,9 @@ data['temphumi_monitor'],
fillGraph: true,
fillAlpha: 0.2
},
'T(ins)': {
axis: 'y',
color: '#705555',
fillGraph: true,
fillAlpha: 0.2
},
'Humi(out)': {
axis: 'y2',
color: '#222288'
},
'Humi(ins)': {
axis: 'y2',
color: '#222288'
}
},
ylabel: '<span style="color:#555555;">Inside [&deg;C]</span>',
@@ -196,6 +134,7 @@ data['temphumi_monitor'],
}
);
/*
pressure = new Dygraph(
document.getElementById("pressure"),
data['pressure_monitor'],
@@ -238,7 +177,7 @@ data['pressure_monitor'],
labelsDiv: 'pressure_labels',
legend: 'always'
}
);
);*/
rrate = new Dygraph(
document.getElementById("rrate"),