Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit. On branch main Your branch is up to date with 'RQteafactory-NodeJS/main'. Changes to be committed: modified: static/css/sensor-1.css modified: static/js/sensor-1.js
This commit is contained in:
parent
434e0422fb
commit
dc2e120ea4
@ -19,7 +19,7 @@ body,html {
|
|||||||
|
|
||||||
}
|
}
|
||||||
.bottom {
|
.bottom {
|
||||||
height: 70%;
|
height: 75%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -40,7 +40,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
tooltip: { trigger: 'axis' },
|
tooltip: { trigger: 'axis' },
|
||||||
legend: { data: ['温度'], textStyle: { color: 'white' } },
|
legend: { data: ['温度'], textStyle: { color: 'white' } },
|
||||||
xAxis: { type: 'category', data: timestamps, axisLabel: { color: 'white' } },
|
xAxis: { type: 'category', data: timestamps, axisLabel: { color: 'white' } },
|
||||||
yAxis: { type: 'value', axisLabel: { color: 'white' } },
|
yAxis: { type: 'value',min:0,max:400, axisLabel: { color: 'white' } },
|
||||||
series: [{ name: '温度', type: 'line', data: temperatures }]
|
series: [{ name: '温度', type: 'line', data: temperatures }]
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
|
Loading…
Reference in New Issue
Block a user